Create OpenSSL Certificate

Download and install the Windows binary for OpenSSL: https://wiki.openssl.org/index.php/Binaries

Once installed, run the following command. In short, it will create a X.509 certificate valid for 365 days using the RSA algorithm and a key size of 2048 bits. The key and certificate files can be specified with optional parameters as shown below.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfsigned.key -out selfsigned.crt