users@jax-rpc.java.net

Re: HTTPS Problem

From: Kevin Jones <kevinj_at_DEVELOP.COM>
Date: Thu, 13 Jun 2002 11:09:35 +0100

When you create the cert make sure the name on the cert matches the name
of the server you are browsing to (localhost in this case). I *think*
this is the first value you enter when you generate the cert using
keytool

Kevin Jones
Developmentor
www.develop.com


> -----Original Message-----
> From: Public discussion on JAX-RPC
> [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM] On Behalf Of Mischa
> Sent: 13 June 2002 08:54
> To: JAXRPC-INTEREST_at_JAVA.SUN.COM
> Subject: HTTPS Problem
>
>
> Hi,
> After enabling https for Tomcat and generating a encryption
> key I tried to access my Webservice via HTTPS. I recieved the
> message ...Couldn't find trusted certificat.
>
> So I used keytool to export the tomcat.cert and imported it
> to <JRE>/lib/security/cacerts.
>
> Now I'am getting another message:
> java.rmi.RemoteException: HTTP transport error:
> java.io.IOException: HTTPS hostname wrong: should be <localhost>
>
> Anybody out there who knows what's wrong this time?
> Thanx, Mischa
>