ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schölver, Andreas" <Andreas.Schoel...@ebootis.de>
Subject RE: Newbie question - HTTPS and testkeys
Date Tue, 21 Jun 2005 15:06:44 GMT
Hi Eric

Does your test class use a package definition?
It might be neccessary to put the key file somewhere in the classpath,
but it should IMO not be inside of a package.

Andreas

> -----Original Message-----
> From: Eric BOYER [mailto:Eric.Boyer@insa-toulouse.fr] 
> Sent: Tuesday, June 21, 2005 4:54 PM
> To: xmlrpc-user@ws.apache.org
> Subject: Newbie question - HTTPS and testkeys
> 
> 
> Hello,
> 
> I try to set up a HTTPS xmlrpc server but i've got an exception :
> java.io.FileNotFoundException: testkeys (No such file or directory)
> 
> with the code :
> "
> SecureWebServer server = new SecureWebServer(port);
> server.addHandler("bonjour", new HelloWorld2());
> 
> server.start();
> "
> 
> So I generated a testkey file with :
> "
> keytool -genkey -alias duke -keystore testkeys -keyalg rsa
> "
> 
> I put the testkey file in the directory of *.java and *.class but I 
> always have got the exception.
> 
> Could help me please ?
> 
> Thanks,
> 
> Eric
> 

Mime
View raw message