The Command is "no crypto-local pki ServerCert <Cert-Name>"
You have to apply this command at the appropriate level of hierarchy you imported the certificate.
Example Below:
I imported the certificate at the /md level.
(ArubaMM-VA_1) [mynode] #
(ArubaMM-VA_1) [mynode] #show configuration node-hierarchy
Default-node is not configured. Autopark is disabled.
Configuration node hierarchy
----------------------------
Config Node Type Name
----------- ---- ----
/ System
/md System
/md/Campus-A Group
/md/Campus-A/00:0b:86:da:df:80 Device Aruba7010-178
/md/Campus-A/00:0b:86:df:27:20 Device Aruba7010-179
/md/Campus-A/20:4c:03:15:b9:9c Device Aruba7010-177
/mm System
/mm/mynode System
(ArubaMM-VA_1) [mynode] #
(ArubaMM-VA_1) [mynode] #
(ArubaMM-VA_1) [mynode] #cd /md/Campus-A/00:0b:86:da:df:80
(ArubaMM-VA_1) [00:0b:86:da:df:80] #
(ArubaMM-VA_1) [00:0b:86:da:df:80] #show crypto pki serverCert
Certificates of All Nodes
-------------------------
Name Expired
-------------- -------
Controller No //My Cert Name is "Controller"
(ArubaMM-VA_1) [00:0b:86:da:df:80] #
(ArubaMM-VA_1) [00:0b:86:da:df:80] #
(ArubaMM-VA_1) [00:0b:86:da:df:80] #cd /md
(ArubaMM-VA_1) [md] #
(ArubaMM-VA_1) [md] #configure terminal
Enter Configuration commands, one per line. End with CNTL/Z
(ArubaMM-VA_1) [md] (config) #no crypto-local
(ArubaMM-VA_1) [md] (config) #no crypto-local pki ServerCert Controller
(ArubaMM-VA_1) ^[md] (config) #
(ArubaMM-VA_1) ^[md] (config) #
(ArubaMM-VA_1) ^[md] (config) #write memory
Saving Configuration...
Partial configuration for /md
------------------------------------
Contents of : /flash/ccm/partial/198/p=md.cfg
[FILE_INFO] /sc 198
no crypto-local pki ServerCert Controller
Partial configuration for /md/Campus-A
------------------------------------
Contents of : /flash/ccm/partial/198/p=md=Campus-A.cfg
[FILE_INFO] /sc 198
no crypto-local pki ServerCert Controller
Partial configuration for /md/Campus-A/00:0b:86:da:df:80
------------------------------------
Contents of : /flash/ccm/partial/198/p=md=Campus-A=00:0b:86:da:df:80.cfg
[FILE_INFO] /sc 198
no crypto-local pki ServerCert Controller
Partial configuration for /md/Campus-A/00:0b:86:df:27:20
------------------------------------
Contents of : /flash/ccm/partial/198/p=md=Campus-A=00:0b:86:df:27:20.cfg
[FILE_INFO] /sc 198
no crypto-local pki ServerCert Controller
Partial configuration for /md/Campus-A/20:4c:03:15:b9:9c
------------------------------------
Contents of : /flash/ccm/partial/198/p=md=Campus-A=20:4c:03:15:b9:9c.cfg
[FILE_INFO] /sc 198
no crypto-local pki ServerCert Controller
(ArubaMM-VA_1) [md] (config) #
Regards,
Kapil