Created on
06-10-2020
02:58 AM
Edited on
01-21-2026
10:59 PM
By
Jean-Philippe_P
Description
This article describes how to configure LDAP over SSL with an example scenario. The LDAP traffic is secured by SSL.
Scope
FortiGate.
Solution
In this scenario, a Microsoft Windows Active Directory (AD) server is used as the Certificate Authority (CA). Certificate services have been added as a role, and the CA certificate is already available for export.
Prerequisites. Before proceeding with the steps below, install the Active Directory Certificate Services role as the Certification Authority.
To install Active Directory Certificate Services:
Select Next until the Role Services section appears. Select Certification Authority.
Select Next and finish the installation. After the installation has finished, select Configure Active Directory Certificate Services on the destination server.
A new window will pop up. Select Next and ensure Certification Authority is checked under Role Services, then select Next.
Select Enterprise CA. If the Enterprise CA cannot be selected, ensure to be logged in as the Administrator in the AD Domain.
Continue to select Next until the final screen is reached. The rest of the options can be left on the default. Choose to configure them differently according to the requirements.
After selecting Configure, the configuration should succeed as such. Select Close when it is done.
Follow the steps below to configure LDAPS.
Configure LDAPS on the Microsoft Windows Certificate Authority server:





Notes:
config user ldap
edit <ldap_server>
set client-cert-auth {enable | disable}
set client-cert <source>
next
end
When Server Identity Check is enabled (optional), FortiGate validates that the LDAP server certificate matches the configured server value:
If it is not possible to find the System -> Certificates option in the GUI, it is needed to enable Certificates under Feature Visibility, then select Apply.
Related articles:
Troubleshooting Tip: FortiGate LDAP troubleshooting and debug logs created by fnbamd
Technical Tip: Enable expired password LDAP renewal with Active Directory
Technical Tip: How to enable password renewal of remote LDAP user through FortiGate
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 2026 Fortinet, Inc. All Rights Reserved.