Skip to content

Instantly share code, notes, and snippets.

@ivorscott
Created June 5, 2020 07:39
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 ivorscott/bcf223f031e1d89aa3bb8a288ea1c212 to your computer and use it in GitHub Desktop.
Save ivorscott/bcf223f031e1d89aa3bb8a288ea1c212 to your computer and use it in GitHub Desktop.
mkdir -p ./api/tls
go run $(go env GOROOT)/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
mv *.pem ./api/tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment