Skip to content

Instantly share code, notes, and snippets.

@aimtiaz11
Last active June 3, 2020 06:12
Show Gist options
  • Save aimtiaz11/612692e55587a55e7fb3c4a05c5694f9 to your computer and use it in GitHub Desktop.
Save aimtiaz11/612692e55587a55e7fb3c4a05c5694f9 to your computer and use it in GitHub Desktop.
Generate SSL Cert

Generate SSL Cert

openssl genrsa -out server.key 2048
openssl req -new -x509 -key server.key -out server.cert -days 3650 -subj /CN=www.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment