This is a quick description on how to create a self signed SSL certificate for testing purposes.
First you need to install openssl.
openssl genrsa -out demo.key 2048
openssl req -new -key demo.key -out demo.csr
openssl x509 -req -days 365 -in demo.csr -signkey demo.key -out demo.crt
That's it, now you can install the certificate according to these instructions.