I think I've seen this problem when trying to use "ldaps" with JNDI. I found
that you still have to use "ldap", not, "ldaps". Then, you tell it to use
the SSL port. In the case of LDAPS, it's 636. For HTTPS, it's 443. I think
if you leave the "s" off the end it will probably work. At least that's the
way it works with JNDI.

Jon

----- Original Message -----
From: "Lomesh Contractor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 4:54 AM
Subject: SSL Connection problem through jsp


> Hi ,
>
> I am facing one very strange problem for SSL connectivity from JSP page.
>
> I have one java application( one class file ) that make SSL connection to
> any secure server, if I run that application independently. But,when i use
> the same class file from my JSP page, to make SSL connection to other
> server, it shows,
> MalFormedURLConnection exception "https" unknown protocol.
>
> Well, the JSP file compiles successfully. This error occurres only at run
> time. I have included all the required jar files in the classpath. The
same
> url is working fine, if i run it at java application..
>
> ANY IDEA...!!!!
>
> Regards,
>
> Lomesh.
>

Reply via email to