cancel
Showing results for 
Search instead for 
Did you mean: 

DMI update-certificate/delete-certificate RPC with Cert

New Contributor

DMI update-certificate/delete-certificate RPC with Cert

Does anyone succeed use update-certificate or delete-certificate RPC with certificate?
I've tried but can't work with following error.

Request:


DEVICE_CERT
LS0tLS...(snip)...LS0K



Response:


rpc
invalid-value
error
Device certificate for [CN=test.example.net] does not exist



It looks says there is no Device certificate which has the CN but it's found and I can remove with ... Please help!
Tags (1)
3 REPLIES 3
New Contributor

Re: DMI update-certificate/delete-certificate RPC with Cert

 
New Contributor

Re: DMI update-certificate/delete-certificate RPC with Cert

<rpc xmlns="urn:ietfSmiley Tonguearams:xml:ns:netconf:base:1.0" message-id="1">
<delete-certificate>
<type>DEVICE_CERT</type>
<cert>LS0tLS...(snip)...LS0K</cert>
</delete-certificate>
</rpc>


<rpc-reply xmlns="urn:ietfSmiley Tonguearams:xml:ns:netconf:base:1.0" message-id="1">
<rpc-error xmlns="urn:ietfSmiley Tonguearams:xml:ns:netconf:base:1.0">
<error-type>rpc</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-message>Device certificate for [CN=test.example.net] does not exist</error-message>
</rpc-error>
</rpc-reply>
New Contributor

Re: DMI update-certificate/delete-certificate RPC with Cert

Anyone? I saw that KB43658 provides some information regarding certificate related DMI.

However, there is no information about delete-certificate or update-certificate request with X.509 certificate in body.