commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: [httpclient] with ssl
Date Tue, 25 Jun 2002 06:03:19 GMT
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 https://www.verisign.com/
> - 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.

HTH,


--Jeff

Mime
View raw message