Sometimes you may need an unencrypted pair for your certificate (in my case, I need it for Docker Registry).
You can use OpenSSL to generate one. You will need:
- OpenSSL (if you use Windows, you can get OpenSSL for Windows)
- A certificate in PFX format
inputfile.pfx
(you can convert from other formats using OpenSSL too). You will of course need its password. It is useless if you do not have it, just throw that file away.
Create (encrypted) key file:
First, you need to create a key file using the following command: