Skip to content

Instantly share code, notes, and snippets.

@greglecki
Created November 10, 2022 07:47
Show Gist options
  • Select an option

  • Save greglecki/557392a3a2809549cc7e479456b9a62d to your computer and use it in GitHub Desktop.

Select an option

Save greglecki/557392a3a2809549cc7e479456b9a62d to your computer and use it in GitHub Desktop.
Generate SSL Self-Signed Cert
openssl req -x509 -newkey rsa:4096 -keyout private-key.pem -out cert.pem -sha256 -days 365
openssl rsa -in private-key.pem > private-rsa-key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment