Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios调用时似乎没有把privatekey写入到文件系统里? #16

Closed
veilevil opened this issue Feb 12, 2016 · 2 comments
Closed

ios调用时似乎没有把privatekey写入到文件系统里? #16

veilevil opened this issue Feb 12, 2016 · 2 comments

Comments

@veilevil
Copy link

ios调用pay,报错
rsa_private read error : private key is NULL

@veilevil veilevil changed the title 调用时似乎没有把privatekey写入到文件系统里? ios调用时似乎没有把privatekey写入到文件系统里? Feb 13, 2016
@charleyw
Copy link
Owner

应该是安装的时候private key没有传进去。能检查一下你的cordova版本是多少吗?

cordova -v

如果是5.1.1以下的版本呢,你可以试试看按照手动安装的步骤试试看。
还有确保你的key是PKCS格式的,详见这里关于密钥的说明

@veilevil
Copy link
Author

我重新安装以后,它好了,谢谢 @charleyw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants