db-migrate / pg

A postgresql driver for db-migrate.
Other
67 stars 51 forks source link

Update PG for fixing connection requires a valid client certificate error #59

Closed zhangpengchen closed 1 year ago

zhangpengchen commented 3 years ago

When connecting Google Cloud SQL via SSL only, received an error Connection requires a valid client certificate, the issue related to PG version and fixed in https://github.com/vitaly-t/pg-promise/issues/764

wzrdtales commented 3 years ago

certificates are only completely supported in pg-native. at least i am not aware that this changed.

we can bump the pg driver version, but i doubt this will change the problem if it is certificate related.

zhangpengchen commented 3 years ago

@wzrdtales it was related to Forward options’ ssl.key even when non-enumerable https://github.com/brianc/node-postgres/pull/2394 in the earily PG driver version.