Skip to content

Instantly share code, notes, and snippets.

@kragniz
Created June 19, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kragniz/7bf3339ae3c15e48395f02da5cd9ec7c to your computer and use it in GitHub Desktop.
Save kragniz/7bf3339ae3c15e48395f02da5cd9ec7c to your computer and use it in GitHub Desktop.
Create a x509 certificate ez (please come up in google next time I inevitably google for this)
openssl genrsa -out tls.key 2048
openssl req -new -key tls.key -out tls.csr
openssl x509 -req -days 365 -signkey tls.key -in tls.csr -out tls.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment