commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephenson Tim" <>
Subject RE: [httpclient] with ssl
Date Tue, 25 Jun 2002 06:52:36 GMT
thanks this helped clarify a lot, i just need to get a new certificate to be sure it is working
as the keytool reported mine was not X509. 

clearly i don't know anything about these things, can someone point me at any good resources,
jeff you mentioned generating certs with openssl? (the oreilly link was great for the java

thanks, tim 

-----Original Message-----
From: Jeff Turner []
Sent: Tuesday, 25 June 2002 4:03 PM
To: Jakarta Commons Developers List
Subject: Re: [httpclient] with ssl

On Tue, Jun 25, 2002 at 11:30:32AM +1000, Stephenson Tim wrote:
> hi all, 
> i am using the http client to make a secure request and have no
> problem with doing so for test requests like
> - thanks for the USING_HTTPS.txt and sample testcases. However when i
> make a request to my own site it fails with a message: untrusted
> server cert chain which is completely reasonable as i do not have a
> large and popular certificate provider such as Verisign. 
> My question is what do i have to register (and how do i do) it in
> order to get my client to work? 
> thanks in advance, tim 

You need to create a 'truststore' and import the certificate of the
server you're hitting.

Attached is a little note I wrote for internal reference, dealing with
the case where the HTTPS client is a servlet (JSP). The links at the end
are probably the most useful in your case.



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message