-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
Thanks for the report ... can you again after reinstalling? |
Hi @gadomski thanks for the update.
using the sslmode 'require'. |
Ok thanks for checking, I'll take another look this morning. |
🤔 I'm wondering if you picked up the latest changes, as that error comes from pip install pgstacrs=0.1.1 |
thanks @gadomski just quickly tested and got the same error but I need to verify my env. Will get back to you. |
Ok, if this doesn't work for you I'll put some time into standing up an SSL-enabled pgstac and trying to reproduce myself. Appreciate your patience 🙇🏼 |
You could also try setting |
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
The text was updated successfully, but these errors were encountered: