Summary
MbedTLS and GnuTLS parsed a cert without error. But ZCertificate reported the error that the modulus is not a positive number.
System information
Mbed TLS version (number or commit id): 3.6.6
Operating system and version: Ubuntu 20.04.5 LTS
Configuration (if not default, please attach mbedtls_config.h):Mbed TLS 3.6.6 (Default configuration, no changes made to mbedtls_config.h)
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): Compiled from the official source archive (mbedtls-3.6.6.tar.bz2) using GNU Make and GCC. Installed globally via sudo make install.
Additional environment information: Ubuntu Linux (running inside a VirtualBox virtual machine), x86_64 architecture.
Expected behavior
MbedTLS should be rejected.
Actual behavior
. Loading the certificate(s) ... ok
Steps to reproduce
~/mbedtls-3.6.6/programs/x509/cert_app mode=file filename=cert.pem
cert.zip
Summary
MbedTLS and GnuTLS parsed a cert without error. But ZCertificate reported the error that the modulus is not a positive number.
System information
Mbed TLS version (number or commit id): 3.6.6
Operating system and version: Ubuntu 20.04.5 LTS
Configuration (if not default, please attach mbedtls_config.h):Mbed TLS 3.6.6 (Default configuration, no changes made to mbedtls_config.h)
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): Compiled from the official source archive (mbedtls-3.6.6.tar.bz2) using GNU Make and GCC. Installed globally via sudo make install.
Additional environment information: Ubuntu Linux (running inside a VirtualBox virtual machine), x86_64 architecture.
Expected behavior
MbedTLS should be rejected.
Actual behavior
. Loading the certificate(s) ... ok
Steps to reproduce
~/mbedtls-3.6.6/programs/x509/cert_app mode=file filename=cert.pem
cert.zip