JDBC Connection String with SSL using all 3 certificates CA, Cert and Private Key

You are viewing an old version of this question. View the current version here.

Hi, we are struggling with MariaDB JDBC client using SSL. Trying to connect with Putty and/or Squirrel works fine, when using parameters --ssl-ca=ca-cert.pem --ssl-cert=client.pem --ssl-key=privatekey.pem But we cannot find anywhere in the web and/or MariaDB documentation how to construct the JDBC connection string using all the 3 certs mentioned above. The MariaDB documentation only shows a simple sample with parameter sslServerCert= But how can we handover the 2 other certificates? Our idea would be something like that: sslServerCert=....&sslCientCert=...&sslPrivateKey=... ??? Any idea or hint is very welcome. Thanks a lot in advance. Volker btw: I am everything else than a security expert. Thus please be patient, if I should not directly understand replies to this question.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.