Pular para o conteúdo principal

IBM Connections: Conectar TDI em um Secure LDAP server via SSL


If you want Tivoli Directory Integrator (TDI ) to connect to a secure LDAP server (LDAPS) via SSL you need to import the SSL root certificate of the LDAP server into your TDI configuration. This article describes the basics how to do that.
For the TDI configuration included in IBM Connections the steps are as described below:
  • First, get the root certificate of your LDAP server. This can most easily be done with OpenSSL:
openssl s_client -connect <hostname of ldap server>:636 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > <filename for certificate>.cer
If you do not have “sed” available you can just manually extract all lines from “—BEGIN CERTIFICATE—” to “—END CERTIFICATE—” with a text editor and save this section.
  • Now you need to import this certificate into the TDI JKS keystore.
You can either do that via the IBM IKEYMAN utility or, faster, via the command line (start the command from the “…\TDISOL\serverapi” directory):
<TDI program directory>/jvm/jre/bin/keytool -import -trustcacerts -alias <alias name for certificate> -file <filename of the certificate>.cer -keystore testadmin.jks -storepass administrator
E.g.:
/opt/IBM/TDI/V7.1/jvm/jre/bin/keytool -import -trustcacerts -alias LDAP-Certificate -file ldaproot.cer -keystore testadmin.jks -storepass administrato
You need to confirm with “yes”  that you trust this certificate.
  • If you still get SSL errors in the IBMDI.LOG (like “Keystore was tampered with, or password was incorrect”) open the file “<TDI program directory>/etc/global.properties” with a text editor.
Find the sections “## server authentication” and “## client authentication” and replace the line “#{protect}-javax.net.ssl.trustStorePassword={encr}……..” with the line “{protect}-javax.net.ssl.trustStorePassword=administrator” in both sections.
Now your TDI should be able to successfully connect to your secure LDAP server.

Comentários

Postagens mais visitadas deste blog

Querendo aprender Design Thinking?

Segue uma lista interessante para você sobre Design Thinking. Canal do You Tube - Rodrigo Giaffredo https://www.youtube.com/channel/UCiZGIBd46d1EiVvlMVxkmkA?sub_confirmation=1 EXTERNAL RESOURCES IBM Design Thinking http://www.ibm.com/design/thinking/ IBM Design Language http://www.ibm.com/design/language/inspiration How It Works: Design Thinking - IBM Think Academy https://www.youtube.com/watch?v=pXtN4y3O35M Tim Brown: Designers -- think big! http://www.ted.com/talks/tim_brown_urges_designers_to_think_big#t-14620 IDEO Design Thinking http://designthinking.ideo.com/ Using Design Thinking to Design Business Models: http://labs.sogeti.com/using-design-thinking-to-design-business-models/ Remote Design Thinking https://medium.com/remote-design-thinking d.school bootcamp bootleg http://dschool.stanford.edu/wp-content/uploads/2011/03/BootcampBootleg2010v2SLIM.pdf Design Kit Org http://www.designkit.org/ http://www.designkit.org/methods The Field Guide to Human-Centered Design http://www.des...

Running Domino Administrator and Domino Designer on a MAC

I'm running Domino Designer and Domino Administrator on macOS Catalina 10.15.3. Prerequisites : - CrossOver 19.0.1 - Domino 10.01 Client Installer Steps : 1. create a bottle with Windows 7 32 bit 2. Install:     - Main sources     - Adobe Flash 18     - Visual C ++ 2005 8.0 SP1     - SDK 1.1 3. Install Domino 10 client Problems :    - eventually an error message appears with a window, just click ok Tips :    - when executing the designer for the first time, note that there will be a hidden window, which prevents you from clicking on the operation. Check not to warn anymore and it's ok.

How to install HCL Sametime V11

How to install  Sametime V10  - a series of blog posts by  Gabriella Davis : Installing Sametime V10 Limited Use  (including MongoDB) Installing Sametime V10 - The Proxy Server  (WAS based Proxy Server) How to install  Sametime V11 Official documentation How to set autostart for Sametime V11 Proxy Server (Tomcat):  Windows ,  Linux How to enable  business cards photos Configuring  Sametime V11  - a series of blog posts by  Roberto Boccadoro : Integrating Sametime 11 with iNotes and Verse on Premises How to allow access to mobile clients Enabling person photo in the client  (and related problem  solution ) What to do if file transfer is not working Replace self-signed certificate in Sametime...