mastodon / flodgatt

A blazingly fast drop-in replacement for the Mastodon streaming API server
GNU Affero General Public License v3.0
86 stars 8 forks source link

Postgres ssl #36

Closed codesections closed 5 years ago

codesections commented 5 years ago

This PR adds the initial code for SSL support with Postgres. The code is not quite complete—SSL cannot currently be used without manually specifying a cert file, which should not be necessary. But the framework is in place.

Adding SSL support does require building off of the Master branch (i.e., pre-release) of the postgres Rust crate, which I don't love. However, they are on RC-2 for the new version and we should be able to switch back to a released version when that crate is released in the coming days/weeks.