title: Specifying certificates with Hibernate
body: <p>I was looking around for information on enabling SSL with Hibernate and I came across this(<a href="https://stackoverflow.com/questions/1273403/how-can-i-configure-hibernate-to-use-ssl-to-talk-to-the-db-server">How can I configure Hibernate to use SSL to talk to the DB server?</a>). I'm copy pasting the configuration mentioned in an answer, here.</p>
  
  <pre><code>&lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.MySQLInnoDBDialect&lt;/property&gt;
  &lt;property name="hibernate.connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
  &lt;property name="hibernate.connection.url"&gt;jdbc:mysql://blablaba:8443/dbname?useSSL=true&lt;/property&gt;
  &lt;property name="hibernate.connection.verifyServerCertificate"&gt;false&lt;/property&gt;
  &lt;property name="hibernate.connection.requireSSL"&gt;true&lt;/property&gt;
  &lt;property name="hibernate.connection.autoReconnect"&gt;true&lt;/property&gt;
  &lt;property name="hibernate.connection.username"&gt;bablablab&lt;/property&gt;
  &lt;property name="hibernate.connection.password"&gt;clclclclc&lt;/property&gt;
  </code></pre>
  
  <p>Which properties do I use to set the path to my certificate file, assuming that I'd like to set <code>verifyServerCertificate</code> to <code>True</code>?</p>