openssl pkcs12 -nocerts -out PushChatKey.pem -in /Users/akshay/Desktop/n/pushchat.p12
664:错误:0D07207B:asn1编码例程:ASN1_get_object:标题太长:/SourceCache/OpenSSL098/OpenSSL098-47.2/src/crypto/asn1/asn1_lib.c:150: Akshays-Mac-mini:桌面akshay $ openssl pkcs12 -nocerts -out PushChatKey.pemopenssl pkcs12 -nocerts -out PushChatKey.pem -in / Users / akshay / Desktop / n / pushchat.p12
答案 0 :(得分:0)
您必须导航到终端中存储的 pushchat.p12 目录。使用 cd 命令。之后,只需使用以下命令
openssl pkcs12 -nocerts -out PushChatKey.pem -in pushchat.p12
答案 1 :(得分: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