How to connect to a mysql database using jdbc query and applying ssl files for Authentication
i have connected to mysql before but now i have never done so with ssl securty layer.
My current error:
-
I have no direct experience with this, but the first thing that comes to mind to try is to import your certificate (server-ca.pem) into Analyze's cacerts truststore. The help documentation advises how to do this here.
Based on this link your DbUrl will probably look something like:
jdbc:mysql://34.70.125.209:3306/sanctions?verifyServerCertificate=true&useSSL=true&requireSSL=true
Hope this helps.
Please sign in to leave a comment.
Comments
6 comments