tpvm config ldap ca-cert

Imports or removes certificates for LDAP over TLS in a Third-Party VM (TPVM).

Syntax

tpvm config ldap ca-cert import protocol SCP user username password password directory dirname file filename
tpvm config ldap ca-cert remove

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 IP 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.
remove
Removes certificates for LDAP over TLS.

Modes

Privileged EXEC mode

Usage Guidelines

There is not a no form of this command.

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

Examples

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

device# tpvm config 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.

device# tpvm config ldap ca-cert remove