You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by ychawla <pr...@yahoo.com> on 2012/03/20 01:30:54 UTC
Re: No private keys found in keystore
Hi Jules,
I looked at the latest release and the Truststore is still loading a
'KeyMaterial' in version 0.3.11:
TrustMaterial tm = new KeyMaterial(truststoreUrl, tsPass);
I updated this to:
TrustMaterial tm = new TrustMaterial(truststoreUrl, tsPass);
in my local environment and no longer get the failure of "No private keys
found in keystore" for my Truststore. I was wondering if this change was
going to make it into the official release.
Thanks,
Yogesh
juliusdavies wrote:
>
> Hi, Alex,
>
> I figured out the problem. Ugh. Embarrassing. It's complaining
> about your "truststore", not your "keystore." I will try to put out a
> 0.3.11 release this weekend that addresses this.
>
> As a temporary workaround, would you mind recompiling
> "not-yet-commons-ssl-0.3.10" from source? In
> AuthSSLProtocolSocketFactory.java change this line:
>
> TrustMaterial tm = new KeyMaterial(truststoreUrl, tsPass);
>
> To this:
>
> TrustMaterial tm = new TrustMaterial(truststoreUrl, tsPass);
>
>
> Hopefully that will help (but I'm not 100% sure it will).
>
>
> yours,
>
> Julius
>
>
>
> On Fri, Jun 27, 2008 at 5:43 PM, Alessandro Vernet <av...@scdi.org>
> wrote:
>>
>> Julius,
>>
>>
>> juliusdavies wrote:
>>>
>>> Not an httpclient issue. This is a not-yet-common-ssl issue. What
>>> version of "not-yet-commons-ssl" are you on?
>>>
>>
>> Right, I am using the not-yet-commons-ssl jar. I have version 0.3.10.
>>
>> Alex
>>
>> -----
>> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>> http://www.orbeon.com/
>>
>> --
>> View this message in context:
>> http://www.nabble.com/No-private-keys-found-in-keystore-tp18165598p18166179.html
>> Sent from the HttpClient-User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>>
>>
>
>
>
> --
> yours,
>
> Julius Davies
> 250-592-2284 (Home)
> 250-893-4579 (Mobile)
> http://juliusdavies.ca/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/No-private-keys-found-in-keystore-tp18165598p33535911.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org