Skip to content

Instantly share code, notes, and snippets.

@uiaciel
Created December 5, 2016 03:47
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 uiaciel/7f3899fde5111564496016ecc14ab855 to your computer and use it in GitHub Desktop.
Save uiaciel/7f3899fde5111564496016ecc14ab855 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Generate SSL Key anda CSR
clear
openssl genrsa -out $1.key 2048 ; openssl req -new -sha256 -key $1.key -out $1.csr;
cat $1.csr $1.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment