mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-29 00:49:32 +00:00
Using `ssl.wrap_socket` is deprecated and was still allowing soon-to-be-deprecated protocols like TLS 1.1. Now using `SSLContext.create_default_context()` to produce a secure SSL context to wrap the REST API server's socket.