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?
Alternatively, you can use an online tool like Mobundler too