HTTPS Problem

From: Mischa <yawningrascal_at_HOTMAIL.COM>
Date: Thu, 13 Jun 2002 01:54:13 -0600

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: HTTPS hostname wrong: should be <localhost>

Anybody out there who knows what's wrong this time?
Thanx, Mischa