Gracefully Reload SSL Certificates

Поиск
Список
Период
Сортировка
От Donald Stufft
Тема Gracefully Reload SSL Certificates
Дата
Msg-id 44264758-4DA9-4710-9338-CF853DA0490C@stufft.io
обсуждение исходный текст
Ответы Re: Gracefully Reload SSL Certificates  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Currently replacing the SSL certificates for PostgreSQL requires a full server
restart. However in the infrastructure for www.python.org (and in the future,
pypi.python.org as well) we use short lived certificates (1 day) that
automatically get rotated when 75% of their lifetime is used up. This means
that we end up needing to do a full restart of PostgreSQL once a day or so
which is a disruptive action that causes the site to generate errors while
PostgreSQL shuts down and starts back up.

It would be great if PostgreSQL could load a new SSL certificate with a
graceful reload. This would solve our use case perfectly.

In the interim I'm attempting to work around this problem by sticking stunnel
inbetween PostgreSQL and the clients and use that to terminate TLS since it
*does* support gracefully reloading certificates.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: "rejected" vs "returned with feedback" in new CF app
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Gracefully Reload SSL Certificates