[gnutls-devel] GnuTLS | GnuTLS parsed a cert without error. But ZCertificate reported the error that the modulus is not a positive number (#987)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri May 8 17:04:27 CEST 2020



Chu Chen created an issue: https://gitlab.com/gnutls/gnutls/-/issues/987



## Description of problem:

GnuTLS parsed a cert without error. But ZCertificate reported the error that the modulus is not a positive number

## Version of gnutls used:
3.5.5

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

## How reproducible:

Steps to Reproduce:

 * certtool -i -infile path/to/cert_file

## Actual results:

GnuTLS parsed a cert without error. But ZCertificate reported the error "level=error msg="could not parse certificate: x509: RSA modulus is not a positive number".

## Expected results:

No discrepancy between GnuTLS and ZCertificate.
[cert-example-ie-cer02.zip](/uploads/39891d7cc28d70395c92bd0c9c1ff8e5/cert-example-ie-cer02.zip)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/987
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/20200508/60584b8a/attachment-0001.html>


More information about the Gnutls-devel mailing list