Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
hemanth2
Product and Topic Expert
Product and Topic Expert

When an Administrator tries to import any X.509 certificate like *.pfx, *.cert, *.key etc. in the Visual admin "Key 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":

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.