[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] PEM Certificate



Hi!

I'm trying to read a PEM certficate created with OpenSSL (SSLeay).
But using

    InputStream fis = new FileInputStream("ofl.pem");
    rsa_cert[0] = new X509Certificate(fis);
    fis.close();

I'm getting the error:

    iaisk.asn1.CodingException: Asn.1  creation error: Length: Too large
ASN.1 object: 75

Is it not possible to use the PEM cert? Do I have to modify it after the
creation process ?

Thanks!

Oliver

--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-ssl