I commonly need to convert between PEM and p12
- PEM
- Is an ASCII format and can be opened with a text editor. It is used by most SSL-based tools. Key and certificate are two separate files.
- p12
- Acutally: Pkcs12 is used by most browsers. Key and certificate are in one file.
PEM to P12
You need both the key and the certificate:
openssl pkcs12 -export -in usercert.pem -inkey userkey.pem -out bundle.p12
P12 to PEM
openssl pkcs12 -in bundle.p12 -out userkey.pem -nodes -clcerts
The resulting file contains both the key and certificate. Use a text editor to split into two files again.
Thanks, short and straight to the point.
ReplyDeleteYou can generate P12 to PEM file online here: http://www.logisticinfotech.com/blog/push-notification-p12-to-pem-online/
ReplyDeleteThey have developed very great document as well.
Nice Post.
ReplyDeletehttps://www.badlogicgames.com/forum/viewtopic.php?f=15&t=28761
https://www.yelloyello.com/places/tiharojuni
http://hawer.siteboard.eu/t6557f2001-Nike-Air-Max-Off-White.html
https://forums.moto-station.com/showthread.php?p=1602202
https://www.domoticz.com/forum/viewtopic.php?f=4&t=27460
Mystino Casino: Enjoy a Free $1 Bonus for New Players
ReplyDeleteMystino Casino Review. Mystino Casino is an bk8 online casino that offers a ミスティーノ wide variety of games, from video slots ボンズ カジノ to video poker.