Certificate importer failed attempting to process the selected file.

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

When importing a certificate into the SSO Certificate Data Store, we receive the following error in the Administrator UI. 

"Error: Certificate importer failed attempting to process the selected file."

Reviewing the Server.log for the WAMUI we see the following error. 

"invalid DER-encoded certificate data" 

 

Environment:
Any Certified SSO Environment
Cause:

This error occurs when the certificate file containing invalid formatting characters or carriage returns.

Resolution:

Reviewing the certificate in a text editor, we can see that the following lines are not present. 

"-----BEGIN CERTIFICATE-----"

 

"-----END CERTIFICATE-----"

Ensuring that the first line starts with -----BEGIN CERTIFICATE----- and ends with -----END CERTIFICATE----- should resolve this issue.