Hello, there! :)

I've checked google in this but to no avail - so I'm asking here...
Hope its not a duplicate thread.

Trying to read the attached DER form of a X509 certificate with
OpenSSL 0.9.6c and 0.9.6b yields the following error:

paveltz@MORDOR ~
$ openssl x509 -in ./1.der -inform DER
unable to load certificate
3212:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too long:asn1_
lib.c:139:

I've tried to use the asn1parse utility but to no avail:
paveltz@MORDOR ~
$ openssl asn1parse -inform DER -in ./1.der -dump
    0:d=0  hl=16 l=-991318795 cons: VISIBLESTRING
Error in encoding
3552:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too long:asn1_
lib.c:139:

The certificate was produced by calling JCRYPTO_X509Certificate.toDER
method.


Any help ? :) Any information on how to debug further ?

Attachment: 1.der
Description: application/x509-ca-cert

Reply via email to