How to overcome javax.net.ssl.SSLPeerUnverifiedException on ldap connection
Peter Schober
peter.schober at univie.ac.at
Wed Aug 3 07:58:34 EDT 2016
* Patrick Brunmayr <p.brunmayr at linzag.at> [2016-08-03 13:53]:
> I am getting javax.net.ssl.SSLPeerUnverifiedException on my ldap
> connector. I know why because i am using self signed cert and hostnames
> do not match.
> Thats ok for debugging/dev reasons. Is there any configuration property
> can set to overome this issue ?
Unless you're debugging/developing an LDAP server why would there be a
requirement to talk to the LDAP server using an incorrect name?
Anyway, as far as hostname mismatches go, you can simply amend the
hosts file on the server housing the IDP to work around that.
That still leaves you with self-signed key, handling of which depends
on what IDP version and component you're referring to.
-peter
More information about the users
mailing list