[gnutls-devel] GnuTLS | Certificate verification error (#1614)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 21 08:13:03 CET 2024



dulanshuangqiao created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1614



## Description of problem:
A malformed subnet mask in a name constraints extension passes validation with gnutls

## Version of gnutls used:
gnutls-cli 3.7.3

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu

## How reproducible:

Steps to Reproduce:

certtool --verify --infile E_mask.pem --load-ca-certificate E_maskCA.pem
[CA.pem](/uploads/f0c8c31a4ca2183268e21a719ea13402/CA.pem)
[cert.pem](/uploads/c614d24ec414d01009cbc53713ed2113/cert.pem)

## Actual results:
Chain validation output: Verified. The certificate is trusted.

## Expected results:
verify failed

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1614
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20241121/c3dbcb47/attachment.html>


More information about the Gnutls-devel mailing list