Friday, 12 May 2017

How to connect via SSL to sequelize DB

I can't seem to find any documentation for SEQUELIZE.JS on how to use a CA.crt in order to enable connection to my database sitting on a remote server.

I figure its something in the options but I can't seem to figure it out

I have tried

{
 'ssl': true
 'dialectOptions':{
   ca: 'path/to/ca'
 }     
}

and a few other things but nothing seem to work for me.

Can anybody help me?



via Travis Delly

No comments:

Post a Comment