Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60739
    
  65

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

Jeroen is correct. Moving to our WebSphere forum.
 
 
subject: Login JSP page error
 
Similar Threads
Importing Certificate into JAVA Keystore
How to handle LDAP response in servlets
How to handle response codes from LDAP server in Servlets
LDAP, ADS and java API for same
Spring Security + ldaps + JBoss