I am trying to connect to a CloudSQL instance using the certificates provided by google namely "client-cert.pem", "client-key.pem" and "server-ca.pem".
Can someone suggest what to keep in keystore and what in truststore for SSL connection using jdbc.
The client I am using is teiid.
P.S. - I tried importing client-cert.pem into keystore by converting it into p12 file, also imported it in cacerts of jdk, but nothing is working in my case. For truststore I imported server-ca.pem into a seperate keystore.