Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Keystore with 256 bit ECDSA key for Mutual TLS

Hello All,

We are  trying to establish mutual TLS connection with one of our backend target systems. We have been shared with private key and certificate. While trying to create the required keystore for the connection, the following error is shown : 

"Invalid rsa key, reason - expecting an rsa key"

Upon inspecting the key and cert, we found that the key is of 256bit ECDSA and  certificate signature algorithm is ecdsa-with-SHA512. 

Hence, looking for some guidance on if Keystore allows key/cert with ECDSA. If not, are there any workarounds.

Please note, we are using Apigee Edge SaaS and previously have made connections to other systems with 2048bit RSA Key and certificate with sha256WithRSAEncryption.

Thanks in advance!

4 10 970
10 REPLIES 10