TinCanTech wrote
300000 wrote
[ req_ext ]
subjectAltName = @alt_names
[alt_names]
DNS.1 =ABC1.Server.com
DNS.2 = ABC2.Server.com
DNS.3 = XYZ1.Server.com
TinCanTech wrote
The option 'name-prefix' means that it matches a pre-fix not a suf-fix.
nbnamp wrote
verify-x509-name Server.com name-prefix
I am getting this error:
VERIFY X509NAME ERROR: CN= ABC2.Server.com, must be
Server.com
This means:
- VERIFY X509NAME ERROR: CN= ABC2.Server.com, must be Server.com* (With a wildcard)
The name
must begin
Server.com......foo
that is why certificate will have subjectAltName to deal with situation on many difference common name . when client certificate have subjectAltName it can connect to many difference host name with many difference certificate common name..
the way easyRSA create certificate dont contain subjectAltName so using that will never work .
this is why it is perfect to have subjectAltName to make it work