# config user ldapedit "LDAP"set server-identity-check enableend
SolutionProcedure to collect the packet capture.
# diag sniffer packet any 'host <LDAPS_IP> and port <LDAPS_port>'' 6 0 l
Tried to connect to SSLVPN with set server-identity-check enabled.To stop the sniffer, press 'CTRL + C'.From the PCAP, the LDAPS server certificate in the subject should contains hostname 'ldap.example.com'.Once the hostname has been identified, change the LDAP server from IP address to FQDN and enable 'server-identity-check',
# config user ldapedit "LDAP"set server "Certificate_Hostname"set server-identity-check enableend
NOTE.Make sure, that the FQDN for the certificate hostname can be resolved by the configured DNS servers.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.