Selfsigned ssl certificate

From TykWiki
Revision as of 12:18, 7 August 2012 by Tykling (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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