The gNOI Revoke RPC revokes any previously installed certificates.
revoke acts as the client side of the
gNOI Cert RevokeCertificates RPC.
The Command takes 2 flags:
id: a repeated flag that can be used to list (comma-separated) the certificate IDs to be revoked
all: if present,
gNOIrevokes all installed certificates.
gnoic [global-flags] cert revoke [local-flags]
--id flag specifies the certificate(s) to be removed. It can be repeated as many times as needed or supplied with a comma-separated list of certificateIDs
gNOIC retrieves the list of certificates present on the target and revokes all of them with a single
gnoic -a 172.17.0.100:57400 -u admin -p admin --insecure \ cert revoke --id cert2
INFO "172.17.0.100:57400" certificateID=cert2 revoked successfully