Hello,

We need to change our LDAP connection to LDAPS but we received the following error. simple bind failed: dc.domain.local With a 3rd party LDAP Browser it is working from this machine.

Thanks Regards sys-adm

asked 28.01 at 11:06

sys-adm's gravatar image

sys-adm
(suspended)
accept rate: 50%

Maybe you need to put the certiface in the JVM trustore of ivy.

(28.01 at 12:01) Alex Suter ♦♦ Alex%20Suter's gravatar image

Where i can put the certificate to the truststore? You have some tips for this? Thanks for your help.

(29.01 at 03:09) sys-adm sys-adm's gravatar image

Thanks for your answer. We have tried and they ask us for a password. Is this a default password or was this set on the setup?

(29.01 at 07:15) sys-adm sys-adm's gravatar image

who has asked you for a password??

(29.01 at 08:02) Alex Suter ♦♦ Alex%20Suter's gravatar image

Ok it was the java default password for the truststore. We have now imported our root and intermediate certificate from the internal ca. But it is not working. Same error message.

(29.01 at 08:03) sys-adm sys-adm's gravatar image

it was just a guess. you don't have a stacktrace somewhere?

(29.01 at 08:03) Alex Suter ♦♦ Alex%20Suter's gravatar image

Ok we have now found the issue. Our domaincontroller had 2 certificates. One from the old CA that no longer exist and the new one. After we have cleaned the server certificate on our domiancontroller it is working.

(29.01 at 09:15) sys-adm sys-adm's gravatar image
showing 5 of 8 show 3 more comments

Problem is solved. Thanks to Alex for your great help.

We have imported the root and intermediate certificate to the java truststore from our IVY setup.

jre\bin\keytool -import -alias test -file <path to the certificate> -keystore jre\lib\security\cacerts

Some pitfalls was that our domaincontroller had multiple certificates. Between the changes was a reboot helpful.

link

answered 29.01 at 09:20

sys-adm's gravatar image

sys-adm
(suspended)
accept rate: 50%

alright! thank you very much for this answer here!

(29.01 at 09:36) Alex Suter ♦♦ Alex%20Suter's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×19
×5

Asked: 28.01 at 11:06

Seen: 415 times

Last updated: 29.01 at 09:36