Selfsigned ssl certificate

From TykWiki
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 3650 -newkey rsa:4096 -keyout mysitename.key -out mysitename.crt