openssl req -newkey rsa:2048 -sha256 -nodes -keyout hostname.key -x509 -days 365 -out hostname.pem -subj "/C=US/ST=New York/L=Brooklyn/O=Example Brooklyn Company/CN=hostname.com" && \
openssl x509 -in hostname.pem -out hostname.crt
Last active
December 2, 2017 14:36
-
-
Save onmotion/bcb2aaff073b11b543955f4edabec34c to your computer and use it in GitHub Desktop.
self signed ssl cert (for nginx)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment