Hello!
I'm trying to write a webhook for x509 certificates, using
webhook.X509CertificateRequest and webhook.X509Certificate.
Is it safe to check only SANs field, ignoring DNSNames, EmailAddresses, IPAddresses, URLs ?
Do I need to check if all SANs with type dns are listed in DNSNames, and vice-versa?
Hello!
I'm trying to write a webhook for x509 certificates, using
webhook.X509CertificateRequestandwebhook.X509Certificate.Is it safe to check only
SANsfield, ignoringDNSNames,EmailAddresses,IPAddresses,URLs?Do I need to check if all
SANswith typednsare listed inDNSNames, and vice-versa?