You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron Consol <rc...@tampabay.rr.com> on 2003/04/24 20:45:53 UTC
SSLServerSocket Tomcat 4.1.24
Hi Folks,
I seem to take 1 step forward and 2 back - that is part of
the process.
I run a Class that established a SSLServerSocket as a Java
program (from the DOS shell - Win2k) and all works fine - the 2 ends of
the socket communicate.
I run that same code under Tomcat and I get a
"NoSuchAlgorithm" exception - see below. If anyone can offer a
suggestion to resolve this, I'd sure appreciate it.
Cheers ........ RonC
----------------------------- TomCat error
--------------------------------------------------------------
The failing line of code looks like this:
KeyManagerFactory kmf = KeyManagerFactory.getInstance( "SunX509" );
java.security.NoSuchAlgorithmException: Class
com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl configured for
KeyManagerFactory not a KeyManagerFactory
at com.sun.net.ssl.SunJSSE_b.a(DashoA6275)
at com.sun.net.ssl.KeyManagerFactory.getInstance(DashoA6275)
at
com.ibm.esmrt.security.SocketManager.getServerSocketFactory(SocketManage
r.java:33)
at
com.ibm.esmrt.security.SecurityBean.run(SecurityBean.java:140)
------------------------------------------------------------------------
----------------------------------------
Ron Consol
Home:352.621.4797
Cell: 352.302.5856
Home: rconsol@tampabay.rr.com
Web: http://web.tampabay.rr.com/rconsol/
"Those who desire to give up freedom in order to gain security will not
have, nor do they deserve, either one."
Thomas Jefferson.