Mac Validation Error: Invalid Password? Convert .p12 to .pem with openssl pkcs12

I keep getting this error: Mac is checking error: Invalid password?

For these two teams:

openssl pkcs12 -nocerts -out PushKey.pem -in moo.p12

openssl pkcs12 -nocerts -out PushKey.pem -in moo.p12 -nodes

moo.p12 issued by apple for push notifications

+4
source share
1 answer

You must have the password that comes with the pfx file.

Try entering the password on the command line as follows. Then you will receive both the private key and the certificate in pem format:

openssl pkcs12 -nocerts -out PushKey.pem -in moo.p12 -nodes -password pass:<mypassword>
+3
source

Source: https://habr.com/ru/post/1548032/


All Articles