Created
February 4, 2012 20:16
-
-
Save mook/1739858 to your computer and use it in GitHub Desktop.
openssl config to create a self-signed ssl cert with support for multiple names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# openssl req -new -x509 -nodes -days 365 -key stackato.key -batch -config stackato-openssl-cert-gen.conf > stackato-custom.crt | |
[req] | |
default_md = sha1 | |
x509_extensions = extensions | |
prompt = no | |
distinguished_name = distinguished_name | |
[extensions] | |
subjectAltName = @alt_names | |
[alt_names] | |
DNS.1 = stackato-xxxx.local | |
DNS.2 = *.stackato-xxxx.local | |
[distinguished_name] | |
CN = stackato-xxxx.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment