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

Introduce & verify tls/ssl support #16

Open
affejunge opened this issue Dec 19, 2024 · 1 comment
Open

Introduce & verify tls/ssl support #16

affejunge opened this issue Dec 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@affejunge
Copy link

Hi all,

We observed that using the Client with connection parameters like this
Client.open(f"dbname='stac' user='{username}' password='{password}' host='{host}' port=5432 sslmode='require'")

on a database with ssl enabled, the connection is not established. The error message is

PgstacError: postgres: error performing TLS handshake: no TLS implementation configured

Using psycopg2 with the same connection parameters works fine. The connection is established and a query is executed successfully.
We tested with this 4976448
against db running pgstac:v0.9.1

@gadomski
Copy link
Member

Thanks for the report ... can you again after reinstalling? pip install --force git+https://github.com/stac-utils/pgstacrs. I've got a fix in #18 but haven't yet cooked up an easy way to test it.

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
Development

No branches or pull requests

2 participants