Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

zhangpengchen
Copy link

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 vitaly-t/pg-promise#764

@zhangpengchen zhangpengchen deleted the ssl branch December 13, 2020 19:37
@zhangpengchen zhangpengchen restored the ssl branch December 13, 2020 20:28
@zhangpengchen zhangpengchen changed the title Fix connection requires a valid client certificate error Update PG for fixing connection requires a valid client certificate error Dec 13, 2020
@zhangpengchen zhangpengchen reopened this Dec 13, 2020
@wzrdtales
Copy link
Member

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
Copy link
Author

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

@zhangpengchen zhangpengchen closed this by deleting the head repository May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants