title: How to configure spring boot application to use SSL/TLS over MySQL?
body: <p>I set up SSL on my MySQL server. </p>
  
  <p>I generated few certicates for CA (ca.pem, ca-key.pem), for client (client-cert.pem, client-key.pem) and server (server-cert.pem and server-key.pem).</p>
  
  <p>In spring boot configuration file, here is the link to MySQL defined in application.yml file
  : <strong>jdbc:mysql://host:3306/bdd_name?useUnicode=true&amp;characterEncoding=utf8&amp;useSSL=true&amp;requireSSL=true</strong></p>
  
  <p>I verify that my certicates are with openssl verify and I verify also by using a mysql client to set up a connection.</p>
  
  <p>How to set the link Spring Boot application to my certificates (I have *.pem files) to finish my configuration ?</p>