[gnutls-devel] GnuTLS | GnuTLS Verification Error (#1669)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Feb 25 09:26:57 CET 2025



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



## Description of problem:
GnuTLS incorrectly passed the certificate validation, which is different from the validation results of OpenSSL and WolfSSL, and violates RFC5280.
The test case I provided includes the CRLDistributionPoints extension, but the extension value is empty
RFC5280 mentions: When a conforming CA includes a CRLDistributionPoints extension in a certificate, it MUST include at least one DistributionPoint that points to a CRL that covers the certificate for all reasons.

## Version of gnutls used:
gnutls-cli 3.7.3

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

## How reproducible:

Steps to Reproduce:

 * one certtool --verify --load-ca-certificate RootCA.pem --infile Cert1732784533877D1.pem

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

## Expected results:
Chain verification output: Not verified.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1669
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/20250225/3d0fb16b/attachment.html>


More information about the Gnutls-devel mailing list