Open patrick99e99 opened 6 years ago
Net::LDAP::Error (hostname "10.255.5.15" does not match the server certificate)
Does your LDAP server have 10.255.5.15
as a CN
or SAN
in the SSL certificate?
I have the same error, how I can solve it ? I need to ignore server certificate verification
I am also seeing the same failure after upgrading from 0.8.5
to 0.8.6
. Resolved by locking my gemfile to 0.8.5
.
Just my 0.02. Locking the gem to 0.8.5 solved my errors too. But it looks like the error is in Net::LDAP.
Not sure yet what changed in net-ldap but downgrading net-ldap from 0.16.2 to 0.11 made my connection happy. (Which of course is done when downgrading devise_ldap_authenticatable to 0.8.5)
When I use 0.8.5, if I try to authenticate I see:
But then when I upgrade to 0.8.6, I now get:
What can I do to resolve this?