Skip to content

Instantly share code, notes, and snippets.

@ilguzin
Created November 26, 2013 06:01
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 ilguzin/7654061 to your computer and use it in GitHub Desktop.
Save ilguzin/7654061 to your computer and use it in GitHub Desktop.
Create self-signed certificate
# Create key:
openssl genrsa -out DOMAINCOM.com.key 2048
# And the certificate:
openssl req -new -x509 -key DOMAINCOM.key -out DOMAINCOM.cert -days 3650 -subj /CN=DOMAIN.COM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment