Win a copy of High Performance Python for Data Analytics this week in the Python 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • 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?
 
That feels good. Thanks. Here's a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic