Skip to content

Instantly share code, notes, and snippets.

@tnajdek
Created January 29, 2014 16:04
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 tnajdek/8691162 to your computer and use it in GitHub Desktop.
Save tnajdek/8691162 to your computer and use it in GitHub Desktop.
#!/bin/sh
#thank you http://superuser.com/questions/226192/openssl-without-prompt
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout www.example.com.key -out www.example.com.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment