cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21834
Views
35
Helpful
4
Replies

How to remove a key-string certificate for crypto map?

Hi Friends,

Want to know how to remove a key-string which is configured within the command " crypto key pubkey-chain rsa " in a router.

I dont have to add any other key certificates.

Just got a decommission task of removing the crypto configuration and the crypto key.

Awaiting for your helpful replies.thanks.

4 Replies 4

Aditya Ganjoo
Cisco Employee
Cisco Employee

Hi,

Please use the command:

crypto key zeroize rsa 

Regards,

Aditya

Please rate helpful posts and mark correct answers.

Hi Aditya,

Thanks for the reply.

The command you suggested is to remove the complete crypto key pubkey-chain rsa and all the addresses associated.

But my query is to remove only one address and its associated key string.

Please suggest how to remove the key-string which contains somewhat 20-30 hexadecimal numbers certificates types.

Hi,

You can use this command:

SWITCH(config)#crypto key zeroize ?
ec Remove EC keys
pubkey-chain Remove peer's cached public key
rsa Remove RSA keys
<cr>

SWITCH(config)#crypto key zeroize rsa
SWITCH(config)#crypto key zeroize rsa ?
WORD keypair label
<cr>


SWITCH(config)#cry key zeroize pubkey-chain ?
<1-65535> Public key index
<cr>

 Regards,

Aditya

Please rate helpful posts and mark correct answers.

Hi Aditya,

As per your commands the key string option is not showing.

Could you try like below:

R#conf t

R(conft)#crypto key pubkey-chain rsa

R(conf-crypto)#key string ?

The problem is i dont have write access . I have to prepare the config and someone else from vendor will implement it.