I copied the .keystore file over to the directory which contains 
my web-application.  The application seems to be reading the certificate 
ok now, but it's throwing a new exception:
java.security.NoSuchAlgorithmException: Algorithm RSA not available

The tomcat SSL_howto file states that the key that is generated for
tomcat's SSL port should be generated with the RSA alogrithm, so I don't think 
I can just switch to another algorithm.  

Any ideas on how to make RSA available to an SSL client?

--Monte Glenn Gardner


On Wed, 23 Oct 2002, Ralph Einfeldt wrote:

> - If tomcat is run by a different user than the root user
>   /root is the last directory to put anything in that should 
>   has to readable by that user.
> - Make shure that the directory that contains the file has 
>   the right permissions for the user that runs tomcat. 
> 
> (assuming that /root/keystore (instead of /root/.keystore) 
> is just a typo in the mail)
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:Monte.Gardner@;asu.edu]
> > Gesendet: Mittwoch, 23. Oktober 2002 17:58
> > An: Tomcat Users List
> > Betreff: RE: SSL Servlet Client
> > 
> > 
> > I wrote the sample code  that you gave me below.
> > I also changed the file permission on /root/keystore to all
> > chmod 777 /root/.keystore
> > 
> > and I got the following erroor
> > java.io.FileNotFoundException: /root/.keystore (Permission denied)
> >         at java.io.FileInputStream.open(Native Method)
> > 
> > Why would the permission be denied if the file has full file 
> > pemissons?
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to