Skip to content

Instantly share code, notes, and snippets.

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 gdemarcsek/be4c05180cbc5363c8142ece31184e45 to your computer and use it in GitHub Desktop.
Save gdemarcsek/be4c05180cbc5363c8142ece31184e45 to your computer and use it in GitHub Desktop.
openssl self signed cert gen oneliner
openssl req -subj '/CN=domain.com/O=My Company Name LTD./C=US' -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout server.key -out server.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment