Skip to content

Instantly share code, notes, and snippets.

@mrosenberg
Created May 3, 2017 18:23
Show Gist options
  • Save mrosenberg/62eef8b72f37ecfbe68e1c70564eb2be to your computer and use it in GitHub Desktop.
Save mrosenberg/62eef8b72f37ecfbe68e1c70564eb2be to your computer and use it in GitHub Desktop.
openssl config file
[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn
[ dn ]
C = US
ST = Virginia
L = Richmond
O = Workshop Digital
OU = Testing Domain
emailAddress = matt@workshopdigital.com
CN = workshopdigital.dev
[ req_ext ]
# Extensions to add to a certificate request
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = workshopdigital.dev
DNS.2 = www.workshopdigital.dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment