So the platform/system we're subscribed to said they're renewing their certificates, and sent us the new ones. They sent 1 .pem
and 1 .crt
file with exactly the same content, which is basically just a certificate part (no key):
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
We're on a 3rd party java app which has a .jceks keystore, containing just a SecretKeyEntry
Keystore type: JCEKS
Keystore provider: SunJCE
Your keystore contains 1 entry
abcd, May 23, 2016, SecretKeyEntry,
So what am I supposed to do here ?
I imported the cert with alias "abcd" but the app apparently expects a key as per the logs ? :
ConnectivityException: Error while decrypting [7v9wr8aOC+t3OEVGVzfBjw==] using cipher [AES]