Thanks for the reply Roland, it is appreciated. I do understand that there
is an issue with certs but as I haven't connected to SSL / HTTPS in Java
before I'm not sure how I can obtain the HTTPS cert from the address I'm
connecting to and place it in the keystore.  For example when a browser
connects, it automatically receives the cert from the HTTPS address and does
so without prompting if it is (the cert) signed by an appropriate / trusted
CA such as verisign and prompts when it's not signed as such.  The question
I've got is either 1. how to obtain that cert and import, or 2. configure
the Java code so that it automatically accepts the cert.

Thanks

Mark

On 07/10/2007, Roland Weber <[EMAIL PROTECTED]> wrote:
>
> Mark Dundon wrote:
> >
> > unknown certificate
>
> Isn't that error message self-explanatory? Import the
> certificate required for the site you are connecting to.
>
> http://jakarta.apache.org/httpcomponents/httpclient-3.x/sslguide.html
> http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html
>
> Or use a dedicated certificate store and nyc-ssl:
> http://www.juliusdavies.ca/commons-ssl/
>
> cheers,
>   Roland
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to