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

Having a root certificate in .postgresql directory is causing Steampipe CLI to fail #1417

Closed
vhadianto opened this issue Feb 8, 2022 · 0 comments · Fixed by #2567
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@vhadianto
Copy link

Describe the bug

Download a valid root certificate. We can use Letsencrypt:

https://letsencrypt.org/certificates/
-> Active -> ISRG Root X1 -> Self-signed
-> Halfway through the page download the certificate (link called "Certificate"). Direct link: https://crt.sh/?d=9314791

Name the certificate root.crt and save it in ~/.postgresql

Now run steampipe, it will fail with the following issue:

$ steampipe query
Welcome to Steampipe v0.13.0-alpha.5
For more information, type .help
> 
Error: failed to connect to `host=localhost user=root database=postgres`: failed to write startup message (x509: certificate signed by unknown authority)

Steampipe version (steampipe -v)
steampipe version 0.13.0-alpha.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants