Skip to content

Instantly share code, notes, and snippets.

@sunoru
Created May 8, 2015 12:18
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 sunoru/6ed05ad8370827b981a8 to your computer and use it in GitHub Desktop.
Save sunoru/6ed05ad8370827b981a8 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo $1
mkdir $1
cd $1
openssl genrsa -out $1.key 2048
openssl req -new -sha256 -key $1.key -out $1.csr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment