tpvm mode config ldap ca-cert

Imports or removes certificates for LDAP over TLS in the TPVM instance.

Syntax

ldap ca-cert import protocol SCP host hostname user username password password directory dirname file filename
no ldap ca-cert

Command Default

By default, certificates are not imported.

Parameters

import
Imports certificates for LDAP over TLS.
protocol SCP
Specifies the SCP protocol.
host hostname
Specifies the host name or IPv4 address of the remove server from which the CA certificate is imported.
user username
Specifies the login name for the remote server.
password password
Specifies the password associated with the user name.
directory dirname
Specifies the name of the remote directory that contains the certificate.
file filename
Specifies the file name of the certificate.

Modes

TPVM Configuration mode

Usage Guidelines

You cannot remove certificates from configured secure LDAP servers. Use the ldap command to disable the secure option and then remove the certificates.

Examples

This example imports certificates needed for the secure LDAP server configuration.

SLX (config-tpvm-TPVM)#  ldap ca-cert import protocol SCP host 10.6.46.51 
user fvt password pray4green directory /home/cert filename cacert.pem

This example removes a certificate.

SLX (config-tpvm-TPVM)# no ldap ca-cert