1 2 3 4 5 6 7 8 9 10 11 12 13
[req] distinguished_name=dn x509_extensions=ext [ dn ] CN=testserver.com [ ext ] subjectAltName = @alt_names [alt_names] DNS.1 = testserver.com DNS.2 = second.testserver.com DNS.3 = localhost IP.1 = 127.0.0.1 IP.2 = ::1