Skip to content

Instantly share code, notes, and snippets.

@syall
Last active January 9, 2020 06:18
Show Gist options
  • Save syall/2091550db56d83a443647be77d2c4e5f to your computer and use it in GitHub Desktop.
Save syall/2091550db56d83a443647be77d2c4e5f to your computer and use it in GitHub Desktop.
Generate SSL Key Pair
openssl genrsa 2048 > host.key
chmod 400 host.key
openssl req -new -x509 -nodes -sha256 -days 365 -key host.key -out host.cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment