• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

jsse in websphere, ssl to ldap

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have code a program using jndi/jsse to connect to ldap with SSL.
It works in a few other environment but not in websphere. I placed jsse.jar, jnet.jar and jcert.jar in the javahome/jre/lib/ext, and edit
the java.security for providers, and make sure cacerts in the java security is valid (all certs are valide inside). The error says: bad certificate.
Do I need to do some configuration in webshpere itself? What is that security center used for?
I thought I am using sun's jsse to manage SSL connection to LDAP. The configuration in security center of Websphere is about websphere admin server, right? I am not very clear. Thanks.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IBM has their own implementation of the JSSE and the JCE. I found I could get both to work outside of WebSphere using just the JDK of choice but encountered issue when moving the code to WebSphere.
I found two articles. One that really helped me with the JCE. The other covers using the Sun and/or IBM implementations of JSSE.
Like you, I'm still dealing with the JSSE issues. Maybe you will find them helpful.
JCE:
http://www-900.ibm.com/developerWorks/cn/wsdd/library/techarticles/0306_yu/yu_eng.shtml
JSSE:
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0403_yu/0403_yu.html
Take care,
Randall
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running into something similar... I have a third party product that only supports to sun jsse provider and I have not been able to get it to work...

I am not a websphere person.. So this may be a silly question... but does security need to be on on the websphere server in order to have a conncection go through the websphere server using ssl to to a secure port?
 
Does this tiny ad smell okay to you?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!