Convert .p12 file to .pem using Terminal app in Mac “No such file or directory” error?

后端 未结 1 627
野的像风
野的像风 2021-01-31 06:16

I have export the \"Apple Development IOS Push Service\" certificate from Keychain Access and save the \"apns-dev-cert.p12\" in my desktop. I want to enable Apple Push Not

1条回答
  •  -上瘾入骨i
    2021-01-31 06:59

    Type in:

    cd /Users/creagx/Desktop/A (Space between cd and Slash: cd[SPACE]/Users/creagx/Desktop/A
    

    if there is a Folder named "A" on your Desktop where the p12 files are in.

    Then go on with the other Commands

    openssl pkcs12 -in apns-dev-cert.p12 -out apns-dev-cert.pem -nodes -clcerts

    openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12

    0 讨论(0)
提交回复
热议问题