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 available for export already.
Prerequisites.Before performing the steps below, install the Active Directory Certificate Services role first 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 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:
Note:
From FortiOS v7.2.0 onwards, administrators can configure a FortiGate client certificate in the LDAP server configuration when the FortiGate connects to an LDAPS server that requires client certificate authentication:
config user ldap
edit <ldap_server>
set client-cert-auth {enable | disable}
set client-cert <source>
next
end
Related articles:
Troubleshooting Tip: FortiGate LDAP troubleshooting and debug logs created by fnbamd
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 2025 Fortinet, Inc. All Rights Reserved.