|
Hello - I have followed the instructions in the
docs - tomcat-ssl-howto (SSL Direct) (Generate a SSL certificate
(RSA) for tomcat) - From what I can understand from the docs I am
configuring tomcat to use "secure socket layering" (https) via tomcat as a
standalone server (no web server involved) I have done everything the docs say
to do without a hitch. Also I tested JSSE to see if it was setup correctly via a
servlet with this code fragment
SSLServerSocketFactory factory
=
(SSLServerSocketFactory) SSLServerSocketFactory.getDefault(); SSLServerSocket sslSocket = (SSLServerSocket)factory.createServerSocket(5757); String [] cipherSuites = sslSocket.getEnabledCipherSuites(); for (int i = 0; i < cipherSuites.length; i++) { System.out.println("Cipher Suite " + i + " = " + cipherSuites[i]); } Yes this test worked and setup is
correct.
Ok when I start tomcat I have a
HttpConnectionHandler on 8443 (everything is on my local machine) When I try to
access https://localhost:8443 via
internet explorer I get a dialog box that says
Client Athenthentication
The web site you want to use requests
Athenthentication
Select the certificate to use when
connecting
I configured the certificate as described in the
docs
What I would like to know is if anyone has a sample
program (servlet or jsp) to connect to tomcat on a local machine using https. I
downloaded the JSSE samples, but they don't make much since (all are
applications) a tutorial somewhere that uses tomcat would be very helpful. The
API for JSSE seems rather large and I am confused as to where to start. Hey
you've got to crawl before you can walk. If anyone can help me out I would
really appreciate it. You can email me directly at [EMAIL PROTECTED]
Thanks
-- Pete --
|
- Re: Stand Alone SSL Tomcat Example Wanted - Please! Pete Ehli
- Re: Stand Alone SSL Tomcat Example Wanted - Please! Dion_Vansevenant
- Re: Stand Alone SSL Tomcat Example Wanted - Plea... Pete Ehli
- Apache To Tomcat connection venkatesan
- Re: Apache To Tomcat connection Jason Pell
- Re: Apache To Tomcat connection venkatesan
- Re: Apache To Tomcat connection Jason Pell
