hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: public key protected PKCS12 not supported
Date Tue, 13 Mar 2007 10:45:44 GMT
Hello Lalit,

> 1. Reading the certificate file and storing the data as a String.
> 2. Then creating ByteArrayInputStream from this String and passing the
> input stream to keystore.load().

Certificate files are binary data and NOT strings. Store
the data in a byte array and don't convert it to string.

By the way, this is a mailing list for HttpClient questions,
not for SSL or PKCS questions.


View raw message