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
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:2048 -keyout mysitename.key -out mysitename.crt
</pre>
</pre>

Revision as of 11:13, 25 August 2012

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:2048 -keyout mysitename.key -out mysitename.crt