We are upgrading OneAutomation V12.3.6 to the last one V21.0.4 HF1
by fresh installation as postgres, then reconfig all components ini file to point at SQL and new keystore certificate.
The JPC process after a while end as following:
20221221/134312.162 - 32 U00045014 Exception 'com.automic.agents.impl.TlsKeystoreReader$InvalidKeystoreException: "java.io.IOException: keystore password was incorrect"' at 'com.automic.agents.impl.TlsKeystoreReader.tryToLoadKey():91'.
20221221/134312.164 - 32 U00045015 The previous error was caused by 'java.io.IOException: "keystore password was incorrect"' at 'sun.security.pkcs12.PKCS12KeyStore.engineLoad()'.
20221221/134312.165 - 32 U00045015 The previous error was caused by 'java.security.UnrecoverableKeyException: "failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption."' at 'sun.security.pkcs12.PKCS12KeyStore.engineLoad()'.
20221221/134317.179 - 42 U00003432 Termination of Server 'AUTOMIC#CP004' initiated.
We check the path, the keystore and password and seems to be correct
Release : 21.0.4
The error clearly states that the " keystore password was incorrect"'
I can see the following details in ucsrv.ini
The password fields seem to have two equal signs "==" .
After removing one equal sign the JCP worked ok