joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Add support for PEM/certificate files for PostgreSQL

Open rglover opened this issue 3 years ago • 1 comments

At the moment, passing a .pem or .key file for a remote database is not possible. Need to check for this in the connection settings (have a path relative to the /private folder).

Example for MongoDB:

{
  sslCA:
    process.env.NODE_ENV === "production"
      ? fs.readFileSync("../lib/scalegrid-ssl-ca.pem", "utf-8")
      : null,
}

rglover avatar Feb 23 '22 18:02 rglover

This is done for MongoDB but needs support/testing in PostgreSQL.

rglover avatar Jul 11 '22 20:07 rglover

This is a dupe of #148. Closing.

rglover avatar Jul 24 '24 17:07 rglover