File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Login JSP page error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Login JSP page error" Watch "Login JSP page error" New topic
Author

Login JSP page error

Prak Sub
Greenhorn

Joined: May 21, 2004
Posts: 4
I have JSP page that allows a user to type in their user name and password stored on LDAP server. This LDAP server is running on secure port 636. Thus, I must use ssl to make connection during authentication. I use JNDI to do this. But am getting following error (on Websphere Appliation Developer:

[10/9/04 15:28:55:181 EDT] 3f854eb3 SystemErr R javax.naming.CommunicationException: directory.domain.com:636. Root exception is javax.net.ssl.SSLHandshakeException: unknown certificate

I have the certificate file, but am unsure how to tell the IDE the location of the certificate. Any pointers on how to do this would be greatly appreciated.

Thank you,
[ October 09, 2004: Message edited by: Prak Sub ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Since this question is about WSAD setup, I'm moving this along to the IDEs forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Prak,
I think you need to add the certificate file/directory to the server's classpath. Go to the server perspective and open your server. Then look on the environment configuration tab.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
yes, check your server manuals.
This is a Websphere server question, not a WSAD/Eclipse question


42
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Jeroen is correct. Moving to our WebSphere forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Login JSP page error