Skip to content

Instantly share code, notes, and snippets.

@brahimmachkouri
Created February 14, 2022 13:30
Show Gist options
  • Save brahimmachkouri/a453d485ba9a9ebbac31fe29388df7b7 to your computer and use it in GitHub Desktop.
Save brahimmachkouri/a453d485ba9a9ebbac31fe29388df7b7 to your computer and use it in GitHub Desktop.
Generate a self signed certificate without asking a passphrase for the private key
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 5000 -nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment