3.2.0: certificate properties - X509v3 Certificate Policies

Stefan Winter stefan.winter at restena.lu
Fri Jun 3 08:53:27 UTC 2022


I also noticed that while the server logs many properties of the X.509 
certificate (both incoming and outgoing), it does not store the fields 
X509v3 Certificate Policies, i.e.:

X509v3 Extended Key Usage:
                TLS Web Client Authentication, TLS Web Server 
            X509v3 Subject Key Identifier:
            X509v3 Authority Key Identifier:

            X509v3 Subject Alternative Name:
                DNS:tld1.eduroam.lu, DNS:tld2.eduroam.lu
            X509v3 Certificate Policies:


(0) (TLS) Creating attributes from client certificate
(0)   TLS-Client-Cert-Serial := "244f65593e791e5064b98342"
(0)   TLS-Client-Cert-Expiration := "260218163105Z"
(0)   TLS-Client-Cert-Valid-Since := "210219163105Z"
(0)   TLS-Client-Cert-Subject := 
"/DC=net/DC=geant/DC=eduroam/C=LU/O=Fondation Restena/CN=tld1.eduroam.lu"
(0)   TLS-Client-Cert-Issuer := "/DC=org/DC=edupki/CN=eduPKI CA G 01"
(0)   TLS-Client-Cert-Common-Name := "tld1.eduroam.lu"
(0)   TLS-Client-Cert-Subject-Alt-Name-Dns := "tld1.eduroam.lu"
(0)   TLS-Client-Cert-Subject-Alt-Name-Dns := "tld2.eduroam.lu"
(0)   TLS-Client-Cert-X509v3-Basic-Constraints += "CA:FALSE"
(0)   TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web Client 
Authentication, TLS Web Server Authentication"
(0)   TLS-Client-Cert-X509v3-Subject-Key-Identifier += 
(0)   TLS-Client-Cert-X509v3-Authority-Key-Identifier += 
(0)   TLS-Client-Cert-X509v3-Extended-Key-Usage-OID += ""
(0)   TLS-Client-Cert-X509v3-Extended-Key-Usage-OID += ""

... but no "TLS-Client-Cert-X509v3-Certificate-Policy"

In eduroam, we use certificate policy entries to denote "This is an 
authorized eduroam server" (or ..."client", or both), so it is required 
as an authz check to act on the policy OIDs present in the cert (the 
ones with vendor ID 25178 above).


Stefan Winter

This email may contain information for limited distribution only, please treat accordingly.

Fondation Restena, Stefan WINTER
Chief Technology Officer
2, avenue de l'Université
L-4365 Esch-sur-Alzette

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20220603/024f02c6/attachment.sig>

More information about the Freeradius-Users mailing list