Wednesday, July 11, 2001 03:13 PM
I am using JSSE in my Applet to access HTTPS site. The following exception was thrown out when executing URL url = new URL("https://mysecuresite.com:8080/servlet/test");
java.net.MalformedURLException: unknown protocol: https
I ckecked online resources and realized that this is a typical problem when HTTPS protocol handler and JSSE provider is not registered. I added the following lines to meet that:
Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider());
I also include the JSSE package into the CLASSPATH and the Applet starting HTML apge. I suppose this will solve all my problem but the exception was still there. Do you have any idea what should i do now?
Re: MalformedURLException: unknown protocol: https
Wednesday, July 11, 2001 04:17 PM