TSS0942I INVALID CERTIFICATE DATA

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

When Trying to ADD a certificate to an acid, or when issuing a CHKCERT the following is received:

TSS0942I INVALID CERTIFICATE DATA - LENGTH 
TSS0301I ADD FUNCTION FAILED, RETURN CODE = 4 

Cause:

Blank Lines or spaces within the certificate.

Resolution:

Certificates must not have any blank lines or spaces.  This includes on the first line where it states:

-----BEGIN CERTIFICATE----- 

The certificate should appear as one big block of characters encases between

-----BEGIN CERTIFICATE-----  and  -----END CERTIFICATE----- with all lines aligned left and no spaces.