Deleting ca certificates – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 248

Advertising
background image

216

Network OS NETCONF Operations Guide

53-1003231-02

LDAP

16

c. In the <password> element, enter the password.

d. In the <host> element, enter the IPv4 address of the remote host.

e. In the <directory> element, specify the path to the directory that contains the certificate

file on the remote host.

f.

In the <file> element, specify the certificate filename.

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="925">

<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">

<data>

<certutil xmlns="urn:brocade.com:mgmt:brocade-certutil">

<import>

<ldapca>

<protocol>SCP</protocol>

<user>jane</user>

<password>janepasswd</password>

<host>10.23.24.56</host>

<directory>/usr/ldapcacert</directory>

<file>cacert.pam</file>

</ldapca>

</import>

</certutil>

</data>

</action>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="925">

<ok/>

</rpc-reply>

Deleting CA certificates

This operation deletes the CA certificates of all the Active Directory (AD) servers.

To delete the CA certificate, issue the <ldapca> action located in the <no>/<certutil> node, where
the <no> element resides in the urn:brocade.com:mgmt:brocade-common-def namespace and the
<certutil> node resides in the urn:brocade.com:mgmt:brocade-certutil namespace.

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="926">

<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">

<data>

<no xmlns="urn:brocade.com:mgmt:brocade-common-def">

<certutil xmlns="urn:brocade.com:mgmt:brocade-certutil">

<ldapca/>

</certutil>

</no>

</data>

</action>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="926">

<ok/>

</rpc-reply>

Advertising