Openssl 苹果推送通知设置错误“;无法加载私钥“;
我随后构建了推送通知功能。当我尝试以下行时:Openssl 苹果推送通知设置错误“;无法加载私钥“;,openssl,apple-push-notifications,Openssl,Apple Push Notifications,我随后构建了推送通知功能。当我尝试以下行时: openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem 它说: unable to load Private Key 140735216849372:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expe
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem
它说:
unable to load Private Key
140735216849372:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: ANY PRIVATE KEY
我需要做什么?你为什么不跟着做?如果按照这些说明操作,您的
p12
文件将同时包含私钥和证书。这一个有效!谢谢@Eran链接是broken@alizx嗯,我发表评论已经8年了。难怪它坏了。尝试谷歌搜索当前链接。