This used to work on my last computer, but I created a CSR and uploaded it to Apple and it returned a valid distribution certificate. But when I run OpenSSL to try and create the p12 file, I keep getting this error:
"no certificate matches private key".
My batch file looks like this:
set OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
set RANDFILE=.rnd
openssl x509 -in ios_distribution.cer -inform DER -out developer_identity.pem -outform PEM
pause
openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out myfile.p12
pause
I've tried just about everything, and I'm seriously stuck. Can anyone help?
Did you try specifying Apple's WWDRCA certificate in your export command?
openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -certfile AppleWWDRCA.cer.pem -out myfile.p12
Alternatively, you can use an online tool like Mobundler too
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With