Skip to content

Instantly share code, notes, and snippets.

@dave-malone
Forked from dwallraff/temp.cnf
Created May 16, 2016 18:15
Show Gist options
  • Save dave-malone/c4eb740c96b425098dd3c5f82117b7c4 to your computer and use it in GitHub Desktop.
Save dave-malone/c4eb740c96b425098dd3c5f82117b7c4 to your computer and use it in GitHub Desktop.
Temp openssl conf file for Multiple SAN Self-Signed Cert
[ req ]
distinguished_name = req_distinguished_name
req_extensions = server_req_extensions
prompt = no
[ req_distinguished_name ]
C = US
ST = CA
L = San Francisco
O = Pivotal
OU = PCFS
CN = *.local.pcfdev.io
emailAddress = dmalone@pivotal.io
####################################################################
[ server_req_extensions ]
keyUsage = critical, digitalSignature, keyEncipherment
subjectAltName = @alternate_names
basicConstraints = CA:FALSE
####################################################################
[ alternate_names ]
DNS.1 = *.local.pcfdev.io
DNS.2 = *.uaa.local.pcfdev.io
DNS.3 = *.login.local.pcfdev.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment