TSS0940I DUPLICATE CERTIFICATE DETECTED when adding a certificate.

Document ID : KB000015126
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

How to resolve the TSS0940I DUPLICATE CERTIFICATE DETECTED  message.

Question:

Receiving a TSS0940I DUPLICATE CERTIFICATE DETECTED trying to add a certificate to the security file.

Answer:

Issue a TSS CHKCERT DCDSN(datasetname) or TSS CHKCERT DCDSN(datasetname) PKCSPASS(password) if password protected.

This will tell you if the certificate is already on the security file.

If the certificate is not already on the security file, make sure the DIGICERT name or LABLCERT name is not already being used.

Run a TSS LIST(ACIDS) DIGICERT(ALL) in batch and do a find on the DIGICERT name and LABLCERT name.