Add support for oid 2.5.29.17 RFC822Name

This is needed to be able to retreive email from the Subject
Alternative Name from the certificate.

Signed-off-by: Johannes Sjøkvist <johannes@konsept-it.no>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Johannes Sjøkvist
2017-01-24 12:49:16 +01:00
committed by Nikos Mavrogiannopoulos
parent 2f65c8c4e9
commit ae2fd78580
4 changed files with 33 additions and 5 deletions

View File

@@ -226,7 +226,7 @@ try-mtu-discovery = false
# The object identifier that will be used to read the user ID in the client
# certificate. The object identifier should be part of the certificate's DN
# Useful OIDs are:
# CN = 2.5.4.3, UID = 0.9.2342.19200300.100.1.1
# CN = 2.5.4.3, UID = 0.9.2342.19200300.100.1.1, SAN(rfc822name)
cert-user-oid = 0.9.2342.19200300.100.1.1
# The object identifier that will be used to read the user group in the