Skip to Content
Author's profile photo Hemanth Kumar

Errors when uploading certificates via J2ee engine Visual Admin Key Storage service

When an Administrator tries to import any X.509 certificate like *.pfx, *.cert, *.key etc. in the Visual adminKey Storage” service, the operation fails with the below error:

com.sap.engine.services.keystore.exceptions.BaseParameterException: Cannot perform operation – character [‘ ‘] cannot be part of view or entry alias“:

image

The reason for the error is that white spaces or dots, files with long names are not supported as keystore entries because of architectural limitations.

As the issue occurs due to the inability of the server to recognise such certificates, one of the below three workarounds should resolve the issue:

STEP 1

Make sure there are no white spaces, dots in the certificate’s filename and then try to import the certificate again.

STEP 2

If the above resolution does not work, then try to rename the file to a shorter name and then try the import.

STEP 3

If the issue still persists, try to load the original X.509 certificate again into the Key Store, but DO NOT use the *.* filter option for the “File of Type“. Instead select the *.pfx or .cer or whatever file is being loaded and then try to import.

image

 

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.