packetfence icon indicating copy to clipboard operation
packetfence copied to clipboard

LDAPS Authentication source with "SSL Verify Mode : Required" doesn't work anymore

Open fdurand opened this issue 10 months ago • 0 comments

Describe the bug LDAPS Authentication source with "SSL Verify Mode : Required" doesn't work anymore

To Reproduce Create a LDAP source, select SSL port 636 and "SSL Verify Mode Required (host is a fqdn) Fill all the rest of the form. Click test button, it won't work. "SSL Verify Mode : None Click test button, it will work.

Expected behavior The ldap perl lib expect to have the host value that match with the certificate.

Additional context Issue is here https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/Authentication/Source/LDAPSource.pm#L248 (we resolv the fqdn to ip)

fdurand avatar Apr 22 '24 17:04 fdurand