Tenant logs show "self signed certificate" events relating to custom database: users unable to login/signup

Problem statement

Tenant logs showed numerous events of the type Failed Login (invalid email/username) (fu) , which carried the description “self signed certificate”

The reported incident related to use of Postgres as the custom database.


The solution here is to use a later version of the pg driver. You can self-resolve this by shifting from require('pg') to require('pg@8.7.1') . Of course, the new driver may have a different API so if you are looking to make this transition you should adjust your code accordingly.