How to create self-signed cert via openssl

It is very easy to create to self-signed for a website, just use the following command in linux terminal or cygwin:

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

Leave a Reply

Your email address will not be published. Required fields are marked *