Skip to content

Instantly share code, notes, and snippets.

@dweomer
Last active August 29, 2015 14:26
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 dweomer/ae831d71f88358453026 to your computer and use it in GitHub Desktop.
Save dweomer/ae831d71f88358453026 to your computer and use it in GitHub Desktop.
#!/bin/sh -x
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout localhost.key -out localhost.pem \
-subj "/C=us/ST=localhost/L=localhost/O=localhost/OU=localhost/CN=localhost/emailAddress=user@localhost"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment