Skip to content

Instantly share code, notes, and snippets.

@riccardopedrielli
Created October 22, 2021 16:25
Show Gist options
  • Save riccardopedrielli/5d842a50d03c1e16f731c1441b382bc7 to your computer and use it in GitHub Desktop.
Save riccardopedrielli/5d842a50d03c1e16f731c1441b382bc7 to your computer and use it in GitHub Desktop.
Generate SSL certificate
openssl req -newkey rsa:4096 -x509 -sha256 -nodes -days 3650 -out localhost.crt -keyout localhost.key -subj "/CN=localhost"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment