title: Unable to establish SSL connection to MySQL server
body: <p>I am trying to connect to a MySQL server over SSL, however am getting the error:</p>
  
  <p><code>Unable to establish SSL connection</code></p>
  
  <p>Steps taken:</p>
  
  <ol>
  <li>In MySQL Workbench, used the SSL Wizard to certificates and keys.</li>
  <li>Uploaded <code>ca-cert.pem</code>, <code>server-cert.pem</code>, and <code>server-key.pem</code> to the server.</li>
  <li><p>In my.cnf on the server, added the following:</p>
  
  <p><code>[mysqld]
  ssl-ca=/path/to/ca-cert.pem
  ssl-cert=/path/to/server-cert.pem
  ssl-key=/path/to/server-key.pem</code></p></li>
  <li><p>Restarted MySQL service on the server.</p></li>
  <li><p>Back in MySQL Workbench, set the connection to require SSL and use the files <code>ca-cert.pem</code>, <code>client-cert.pem</code>, and <code>client-key.pem</code> stored in my local computer.</p></li>
  <li><p>Tested the connection in Workbench, got the 'Unable to establish SSL connection' error.</p></li>
  </ol>
  
  <p>I have also noticed that running <code>show global variables like 'have_%ssl';</code> shows that <code>have_ssl</code> is <code>disabled</code>.</p>