Create self signed SSL certficate in one command

Creates a certificate which is valid for 10 years:

openssl req -nodes -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650

Leave a comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.