This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

jsse in websphere, ssl to ldap

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic