Skip to content

Instantly share code, notes, and snippets.

@iAnatoly
Created May 4, 2022 01:54
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 iAnatoly/9e02685372f07ebeca96762d6bc9d4e1 to your computer and use it in GitHub Desktop.
Save iAnatoly/9e02685372f07ebeca96762d6bc9d4e1 to your computer and use it in GitHub Desktop.
openssl self-signed cert one line
#!/bin/bash
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment