After generating generating the certificate, we tried changing the keystore password as follows but the password was not changed as expected.
cd /app/spectrum/Java/bin
./keytool -storepasswd -keystore /spp/spectrum/custom/keystore/cacerts
Enter keystorkeystore password: changeit
New Keystore password:newpasswd
Re-enter password: newpasswd
Release : Any
Component : Spectrum OneClick
Change the keystore password after copying the keystore and before generating the certificate.