util.x509: Only collect commonNames that pass idna
[prosody.git] / certs / localhost.cnf
blob61d59e729f3c93be0e403b41d2a6e0a6ea9c9ce8
1 [v3_extensions]
2 basicConstraints = CA:TRUE
3 subjectAltName = @subject_alternative_name
5 [subject_alternative_name]
6 DNS.0 = localhost
7 otherName.0 = 1.3.6.1.5.5.7.8.7;IA5STRING:_xmpp-client.localhost
8 otherName.1 = 1.3.6.1.5.5.7.8.7;IA5STRING:_xmpp-server.localhost
9 otherName.2 = 1.3.6.1.5.5.7.8.5;FORMAT:UTF8,UTF8:localhost
11 [distinguished_name]
12 countryName = GB
13 organizationName = Prosody IM
14 organizationalUnitName = https://prosody.im/doc/certificates
15 commonName = Example certificate
17 [req]
18 prompt = no
19 x509_extensions = v3_extensions
20 req_extensions = v3_extensions
21 distinguished_name = distinguished_name