Selfsigned ssl certificate: Difference between revisions
From TykWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
openssl req -x509 -nodes -days 3650 -newkey rsa: | openssl req -x509 -nodes -days 3650 -newkey rsa:4096 -keyout mysitename.key -out mysitename.crt | ||
</pre> | </pre> |
Latest revision as of 13:39, 12 January 2015
I somehow always find myself looking up how to create a self-signed SSL certificate. I'll put this here so I know where to find it next time I need it.
openssl req -x509 -nodes -days 3650 -newkey rsa:4096 -keyout mysitename.key -out mysitename.crt