I am trying to turn off ssl, to my local mysql database. But I cannot find the actual property in a spring application.properties file that would do this.
my current
I don't like to pollute java options or system properties, which are useless in application containers in any case...
You can set SSL certificate for MySQL connection programmically with:
jdbc:mysql://example.com:3306/MYDB?verifyServerCertificate=true&useSSL=true&requireSSL=true&clientCertificateKeyStoreUrl=file:cert/keystore.jks&clientCertificateKeyStorePassword=123456&trustCertificateKeyStoreUrl=file:cert/truststore.jks&trustCertificateKeyStorePassword=123456
It is documented: