Use openssl to generate p12 file
generate key & csr
1
openssl req -new -newkey rsa:2048 -nodes -keyout mykey.key -out csr.certSigningRequest
use cer(download from apple website) generate pem
1
openssl x509 -in {cer.cer} -inform DER -out #{pem.pem} -outform PEM
use key & pem to generate p12 file
1
openssl pkcs12 -export -inkey mykey.key -in #{pem.pem} -out #{dev_p12}
- get the p12 file at the last