Skip to content

Can't configure self signed SSL certificate for Digital Ocean Postgres #324

@flobaader

Description

@flobaader

Hi,

is it possible to configure NocoDB with a self signed SSL database (like the postgres provided by DigitalOcean)?

image

This is my current config

{
  "client": "pg",
  "connection": {
    "host": "HOST",
    "port": "PORT",
    "user": "USER",
    "password": "PASSWORD",
    "database": "DB",
    "ssl": "true",
  }

The knex docs suggest the following approach

{
   "ssl" : {
    "rejectUnauthorized": "false" // this does not work
  }

}

This is also not working

{
    "rejectUnauthorized": "false" // this does not work
}

NocoDB used as docker : true
NocoDB version :
Database used in NC_DB URL : pg
Project was created by clicking : New Project by connecting to external database
Database on which spreadsheet is created : pg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions