in Security

Self Signed SSL On Speed

As mentioned before, having a SSL certificate should be mandatory in the 21st century. Use this quick copy-and-paste guide to generate your self signed certificate.

man genrsa req x509

openssl genrsa -out my.key 4096
openssl req -new -x509 -days 365 -key my.key -out myca.crt
openssl req -new -key my.key -out myrequest.csr
openssl x509 -req -days 365 -in myrequest.csr -CA /usr/local/share/ca-certificates/myca.crt -CAkey /etc/ssl/private/my.key -out mysigned.crt