-
Notifications
You must be signed in to change notification settings - Fork 404
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
Connecting to postgres over ssl #25
Comments
We need to add starttls to asyncio & uvloop to do this (I have a patch for that). Another option is to abuse |
Any news on this, or can we help somehow? |
Any new about this? Is there any recommended workaround? |
I'll look at this next week (feel free to ping me here again). I'll try to copy aiohttp approach to upgrading an asyncio connection to TLS, which seems to be compatible with both Python 3.5 & 3.6. |
That would be awesome. This is a blocking issue for us. |
@tomas-fp for a workaround I used Foreign Data Wrappers to connect using local instance to an external database. Works good enough for my non production stuff. [edit] As discussed here: https://bugs.python.org/issue23749 |
Looks like the python functionality will land in 3.7:
|
awesome! thanks a lot! |
It will be shipped as part of asyncpg 0.10.0 later today ;) |
Thanks! |
Is there any support to connect to postgres over ssl? I am pretty new to asyncio, would appreciate if there is any other way to do this since heroku postgres db's can only be connected over ssl. Thanks
The text was updated successfully, but these errors were encountered: