Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / January 2007

Tip: Looking for answers? Try searching our database.

https not working

Thread view: 
ashokabhat@gmail.com - 11 Dec 2006 09:33 GMT
i am trying to switch from http to https

i have uncommented the SSl HTTP/1.1 connector

but i am getting an error

Dec 11, 2006 10:50:03 AM org.apache.coyote.http11.Http11BaseProtocol
init
SEVERE: Error initializing socket factory
java.lang.ClassNotFoundException: Can't find any SSL implementation
       at
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
ation.java:57)
       at
org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplement
ation.java:63)
       at
org.apache.coyote.http11.Http11BaseProtocol.checkSocketFactory(Http11
BaseProtocol.java:729)
       at
org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.j
ava:120)
       at
org.apache.catalina.connector.Connector.initialize(Connector.java:101
6)

Dec 11, 2006 10:50:03 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.lang.ClassNotF
oundException: Can't find any SSL implementation
       at
org.apache.catalina.connector.Connector.initialize(Connector.java:101
8)
       at
org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:580)
       at
org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:791)
       at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
       at org.apache.catalina.startup.Catalina.load(Catalina.java:523)

i use apache 5.5.17 and jdk1.4

please help me..hav been stuck for quite a long time
Lion-O - 13 Dec 2006 21:41 GMT
> i am trying to switch from http to https
> i have uncommented the SSl HTTP/1.1 connector

Its impossible to tell whats going on without more context. Just looking at the
error tells us nothing, only that it couldn't find a certain class. So solely
based on that I'd say your configuration doesn't support SSL.

Implementing SSL takes more than just uncommenting some line.

> init
> SEVERE: Error initializing socket factory
> java.lang.ClassNotFoundException: Can't find any SSL implementation
>         at

Time to properly configure SSL on whatever platform you're using.

Signature

Groetjes, Peter

.\\ PGP/GPG key: http://www.catslair.org/pubkey.asc

admin@lifestyles.lt - 18 Jan 2007 08:29 GMT
System.setProperty("java.protocol.handler.pkgs",
                          "com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

You need to set your ssl handler otherwise you won't be able to use
https. Due to trusted certification licensing issues Sun removed this
handler from automated use so you have to set it yourself.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.