• Post Reply Bookmark Topic Watch Topic
  • New Topic

Https in war file

 
Dean Jones
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
, i m trying to conncet to a https site using URL class. I hav used the SUN JSSE package.
i have put all the three jar files of sun's jsse in lib folder.
the code is used before calling the URL class is
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

but this is not working i m getting the error as no SSL implementation found.
can any one of u please let me know how can i solve this problem is there any special thing required when using in war file.'coz jsse is working fine through a stand alone application
thanx
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!