We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get the following error when using pgx.ParseConnectionString(cfg.DatabaseDSN) with sslmode=verify-ca
pgx.ParseConnectionString(cfg.DatabaseDSN)
sslmode=verify-ca
"x509: cannot validate certificate for 34.107.126.58 because it doesn't contain any IP SANs"
The usual PostgreSQL tools work as expected (dbmate, InteliJ IDE database connectors)
The text was updated successfully, but these errors were encountered:
Are you using v4?
v4
Sorry, something went wrong.
@nmiculinic Did you try GODEBUG=x509ignoreCN=0? It looks like the common name matching for hostnames is deprecated and will be removed in go 1.17.
GODEBUG=x509ignoreCN=0
go 1.17
I currently have the same problem. I think the problem has been solved since version 4.0.6 by updating pgconn to v1.5.0.
No branches or pull requests
I get the following error when using
pgx.ParseConnectionString(cfg.DatabaseDSN)
withsslmode=verify-ca
The usual PostgreSQL tools work as expected (dbmate, InteliJ IDE database connectors)
The text was updated successfully, but these errors were encountered: