-
Notifications
You must be signed in to change notification settings - Fork 261
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
How to pass an SSL context to the postgresql backend? #84
Comments
See #71 |
This sounds like the good basis indeed. |
Hi Tom, Thanks for being so swift. However, looking at the code, I'm not sure I see how to provide a SSL context myself. It seems it still expects a boolean, right? Or am I reading that one wrong? |
You should be able to pass anything accepted by
I believe |
Totally! I misread the code :) Sorry. Thanks again for the speed :) |
Hi,
It appears that databases only accepts a boolean to indicate if you want to connect over TLS to postgresql. But, the asyncpg driver supports to pass your own context, which is necessary when you have your own certs.
This make integrating in some environment a showstopper (our environment relies on TLS internally).
Was there a specific issue for not allowing passing a context?
Cheers,
The text was updated successfully, but these errors were encountered: