WWSympa: TLS client authentication: Get email from certificate according to S/MIME
Created by: ikedas
Now it gets rfc822Name
in X.509v3 subjectAltName
, otherwise emailAddress
attribute in subject DN (the first one of either), accroding to S/MIME (See RFC 5750, 3 and 4.4.3).
Note that earlier efforts getting attribute such as MAIL
, Email
in subject DN are no longer supported.