Error while trying to add a keystore

Hi.

I’m trying to configure a .pfx (PKCS12) certificate in my Integration Server Keystore.

In “Security > Keystore > Create Keystore Alias” page I fill the form with the correct values but I’m getting the following error message when I click on “submit”:

“Error: cannot load the keystore for alias ‘MyKeyStore’. Details: attempt to initialize keystore using location(/WebM/IS01/common/conf/certificadodigital2019.pfx) failed.”

Please, what should I do to fix this issue?

Thank you.

Hi Renan,

Can you try to add this property “osgi.parentClassloader=app” in the <SAG_Install_Dir>/profiles/IS/configuration/config.ini file and restart IS. Please test and let me know if it resolves the issue.

Thanks,
Santhosh

Hi.

I managed to solve the problem by recreating the .pfx file with our private key using the “keytool” java tool.

Thanks!