Selfsigned ssl certificate: Difference between revisions

From TykWiki
Jump to navigationJump to search
(Created page with "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. <pre> openssl req -x50...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


<pre>
<pre>
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mysitename.key -out mysitename.crt
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