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 / March 2005

Tip: Looking for answers? Try searching our database.

SSLSocketFactory.getDefault() vs SSLContext ... getSocketFactory()?

Thread view: 
robert@elastica.com - 12 Mar 2005 06:02 GMT
What is the difference b/w these two approaches of getting a
SSLSocketFactory..

In Weblogic 7.0sp4 it seems that only if you go thru the SSLContext
will it setup the trusted CA certificates correctly.

ie. if you establish a connection via getDefault() by the time the
handshake happens it will abort because it doesn't know about any of
the trusted CA certificates.
robert@elastica.com - 12 Mar 2005 20:52 GMT
Looking at the documentation it would appear that you have to use

weblogic.security.SSL.SSLSocketFactory and instead of getDefault() I
should call getDefaultJSSE() which will return the Certicom
implementation instead of the Phaos one. This means that folks should
expect pluggability with Axis and other frameworks that are geared
towards JSSE.
robert@elastica.com - 12 Mar 2005 21:50 GMT
Looking at the documentation it would appear that you have to use

weblogic.security.SSL.SSLSocketFactory and instead of getDefault() I
should call getDefaultJSSE() which will return the Certicom
implementation instead of the Phaos one. This means that folks should
not expect pluggability with Axis and other frameworks that are geared
towards JSSE unless they write their own SSLSocketFactory.


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.