How to recover an accidentally deleted Digital Certificate.

Document ID : KB000004002
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

A client has accidentally deleted the wrong certificate and needs to reinstate it if possible.

Resolution:

A client has accidentally deleted the wrong certificate and needs to reinstate it if possible.

Solution:

The Delete of a certificate is actually a remove command.

If you remove the certificate from the owning acid, such as:

TSS REMOVE(owning acid) DIGICERT(certificate)

The certificate will no longer exist in Top Secret.

The certificate will still reside in the dataset because that is outside of Top Secret. In order to completely delete a certificate you would have to delete the dataset where the certificate resides.

You can add the certificate back to the owning acid:

TSS ADD(owning acid) DIGICERT(digicert) DCDSN('dataset where digicert resides')

You will then have to add the certificate back to any keyrings it previously was on:

TSS ADD(acid) KEYRING(keyring) RINGDATA(owner of cert,digicert) USAGE(personal) DEFAULT

 

Additional Information: