3
openssl pkcs12 -nocerts -out PushChatKey.pem -in /Users/akshay/Desktop/n/pushchat.p12 

664:error:0D07207B:asn1 编码例程:ASN1_get_object:header too long:/SourceCache/OpenSSL098/OpenSSL098-47.2/src/crypto/asn1/asn1_lib.c:150: Akshays-Mac-mini:Desktop akshay$ openssl pkcs12 -nocerts -out PushChatKey.pemopenssl pkcs12 -nocerts -out PushChatKey.pem -in/Users/akshay/Desktop/n/pushchat.p12

4

2 回答 2

0

我使用了这个命令;这没关系。

$ openssl x509 -in aps_development.cer -inform der -out PushChatCert.pem    

$ openssl pkcs12 -nocerts -out PushChatKey.pem -in PushChatKey.p12


$ cat PushChatCert.pem PushChatKey.pem > ck.pem

$ openssl pkcs12 -export -in PushChatCert.pem -inkey PushChatKey.pem -certfile CertificateSigningRequest.certSigningRequest -name "aps_development" -out aps_development.p12
于 2013-11-15T08:21:58.040 回答
0

您必须导航到pushchat.p12存储在终端的目录。为此使用cd命令。之后,只需使用以下命令

openssl pkcs12 -nocerts -out PushChatKey.pem -in pushchat.p12

于 2013-11-15T07:31:04.200 回答