Selfsigned ssl certificate

From TykWiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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