[openssl-dev] [openssl.org #4301] [BUG] OpenSSL 1.1.0-pre2 fails to parse x509 certificate in DER format

Cristian Berneanu via RT rt at openssl.org
Wed Feb 10 21:59:12 UTC 2016


Version: "OpenSSL 1.1.0-pre2 (alpha) 14 Jan 2016"

Command: "openssl x509 -inform der -in sample_ekcert.der"

Result:
"unable to load certificate
140618483803816:error:0D0E20DD:asn1 encoding routines:c2i_ibuf:illegal
padding:a_int.c:223:
140618483803816:error:0D08303A:asn1 encoding
routines:asn1_template_noexp_d2i:nested asn1
error:tasn_dec.c:648:Field=serialNumber, Type=X509_CINF
140618483803816:error:0D08303A:asn1 encoding
routines:asn1_template_noexp_d2i:nested asn1
error:tasn_dec.c:648:Field=cert_info, Type=X509"

Input file: see attachment.

Stable version works fine.

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4301
Please log in as guest with password guest if prompted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_ekcert.der
Type: application/x-x509-ca-cert
Size: 1122 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160210/f633f44c/attachment-0001.crt>


More information about the openssl-dev mailing list