diff --git a/content/features/6-ssl.mdx b/content/features/6-ssl.mdx index 0428d05..8f8e63a 100644 --- a/content/features/6-ssl.mdx +++ b/content/features/6-ssl.mdx @@ -59,3 +59,23 @@ const config = { }, } ``` + +## Note +With Sequelize you may actually need to store the SSL information one level below the other connection information, under dialectOptions, like this: + +```js +const config = { + username:, + password:, + database:, + host:, + dialect: "postgres", + dialectOptions: { + ssl: { + rejectUnauthorized: true, + ca: process.env.CA_CERT, + }, + }, + logging: +} +```