- Open cmd.exe as an Administrator
Create a ".p12". Entering the following command will create the ".p12" on the Desktop:
Code Block language powershell title Combining APNs Certificate with Private Key, generating a ".p12"
"C:\Program Files\OpenSSL-Win64\bin\openssl.exe" pkcs12 -export -in "%USERPROFILE%\Downloads\MDM_ FileWave (Europe) Gmbh_Certificate.pem" -inkey "%USERPROFILE%\Desktop\privateKey.key" -out "%USERPROFILE%\Desktop\push_cert.p12" -name fw-apns
Leave the 'Export Password' blank
Certificate details may be checked:
Anchor openssl_show_p12 openssl_show_p12 Tip title Common Name and Topic
The name of the Private Key will show the value defined as the "Common Name" from the creation of the CSR. Where recommendation was followed, this should list the Apple ID and Server name. Additionally the name of the Certificate is the same as the Topic.
Code Block language powershell title Read the created ".p12" file
"C:\Program Files\OpenSSL-Win64\bin\openssl.exe" pkcs12 -info -in C:\Users\Administrator\Desktop\push_cert.p12
Note, below image has been edited to remove some details and highlight the two key items of interest.