OpenSSL is freely available at openssl.org. If you‘re using Windows, download the Win32 version of OpenSSL. Once you‘ve downloaded OpenSSL and added it to your PATH, the certificate generation is a two-step process:
- Create your private key. The OpenSSL command for doing this is
openssl genrsa -out my-private-key.pem 1024
(replace my-private-key.pem with whatever you want to name your private key). - Create your public certificate. The OpenSSL command for doing this is
openssl req -new -key my-private-key.pem -x509 -days 365 -out my-public-certificate.pem
(replace my-public-certificate.pem with whatever you want to name your public certificate).