Hi, There is an article in Dr Dobbs Journal this month about JSSE. The link is as follows http://www.ddj.com/articles/2001/0102/0102a/0102a.htm Having a look there might solve your problem. Regds, Gokul ----- Original Message ----- From: "Juan Arraiza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 15, 2001 9:29 PM Subject: [SERVLET-INTEREST] HTTPS Hi all, I'm really having a bad time trying to establish a connection to a resource that is in a https server. If I try the following code: URL url = new URL("https://www.myhttpsserver/myresource"); it throws a MalformedURLException because it doesn´t recognice the https as a valid protocol. I've heard that installing JSSE1.0.2 and adding a few lines to my code could help, but I have not been able to do so. The code I´ve tried is: System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() ); URL url = new URL("https://www.myhttpsserver/myresource"); Do any of you have any further ideas? Thanx, Juan ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
