Generate Keys [Snippet]

For creating SSL Public and Private Key

openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -keyout my.key -out my.crt

Create Key Pair to P12 key

openssl pkcs12 -export -in my.crt -inkey my.key -out my.p12

Create PEM Key

openssl pkcs12 -in my.p12 -nodes -out my.pem

Create PFX Key

openssl pkcs12 -inkey my.pem -in my.crt -export -out my.pfx
comments powered byDisqus