Skip to content

Instantly share code, notes, and snippets.

@slugbyte
Created December 13, 2018 14:53
Show Gist options
  • Save slugbyte/a93b62f67f5b726a8a841f6e1d329ed1 to your computer and use it in GitHub Desktop.
Save slugbyte/a93b62f67f5b726a8a841f6e1d329ed1 to your computer and use it in GitHub Desktop.
// server certs
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
// client cert
echo quit | openssl s_client -showcerts -servername localhost -connect localhost:3000 > cacert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment