title: How to connect via SSL to sequelize DB
body: <p>I can't seem to find any documentation for <strong>SEQUELIZE.JS</strong> on how to use a CA.crt in order to enable connection to my database sitting on a remote server. </p>
  
  <p>I figure its something in the options but I can't seem to figure it out</p>
  
  <p>I have tried</p>
  
  <pre><code>{
   'ssl': true
   'dialectOptions':{
     ssl: {
       ca: 'path/to/ca'
     }
   }     
  }
  </code></pre>
  
  <p>and a few other things but nothing seem to work for me.</p>
  
  <p>Can anybody help me?</p>
  
  <p>Edit:</p>
  
  <p>Here is an error i get when using the ca thing</p>
  
  <pre><code>error connecting to db { Error: unable to verify the first certificate
  at TLSSocket.&lt;anonymous&gt;
  </code></pre>