Using the openssl command

When you want to request a new certificate

Create a certificate request file with:

$ openssl req -new -sha1 -newkey rsa:2048 -nodes -keyout tkj.key -out tkj.csr

Create a PFX file

Create a PFX file which includes both your certificate and your private key:

$ openssl pkcs12 -export -in tkj.cer -inkey tkj.key -out tkj.pfx

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 ~ 🐦 @torsteinkrause