countryName = FR
stateOrProvinceName = Radius
localityName = Somewhere
-organizationName = Example Inc.
+organizationName = Example Inc
emailAddress = admin@example.org
commonName = "Example Certificate Authority"
localityName = optional
organizationName = optional
organizationalUnitName = optional
-commonName = supplied
+commonName = optional
+subjectAltName = supplied
emailAddress = optional
[ req ]
countryName = FR
stateOrProvinceName = Radius
localityName = Somewhere
-organizationName = Example Inc.
-emailAddress = user@example.org
-commonName = user@example.org
+organizationName = Example Inc
+emailAddress = user.example@example.org
+commonName = Example user
+
+# Should be the user's NAI as per RFC 5216 (EAP-TLS)
+subjectAltName = user@example.org
[ v3_client ]
basicConstraints = CA:FALSE
countryName = FR
stateOrProvinceName = Radius
localityName = Somewhere
-organizationName = Example Inc.
+organizationName = Example Inc
emailAddress = admin@example.org
commonName = "Example OCSP Responder Certificate"
+subjectAltName = ocsp.example.org
[ v3_ocsp ]
basicConstraints = CA:FALSE
countryName = FR
stateOrProvinceName = Radius
localityName = Somewhere
-organizationName = Example Inc.
+organizationName = Example Inc
emailAddress = admin@example.org
commonName = "Example Server Certificate"
+subjectAltName = radius.example.org
[ v3_radius ]
basicConstraints = CA:FALSE