The ldap-server command configures an LDAP server.
The undo ldap-server command cancels the configuration.
By default, no LDAP server is configured.
ldap-server { authentication ldap-dn ldap-password | ip ip-address [ port port | version version ] * }
undo ldap-server [ authentication ]
| Parameter | Description | Value |
|---|---|---|
| authentication ldap-dn ldap-password | Indicates the user name and password of an LDAP server. |
|
| ip ip-address | Specifies the IP address of an LDAP server. | The value is in dotted decimal notation. |
| port port | Specifies the port number of an LDAP server. | The value is an integer that ranges from 1 to 65535. The default value is 389. |
| version version | Specifies the version number of LDAP. | The value is 2 or 3. The default value is 3. |
Usage Scenario
When a PKI entity uses LDAP to update CRL for certificate verification, the PKI entity obtains CRL from the LDAP server. In this situation, you need to specify an LDAP server.
Prerequisites
The automatic CRL update mode is set to LDAP using the crl ldap command.