How to change the TLS certificate/key without restarting the server?

Поиск
Список
Период
Сортировка
Искать
От
raf
Тема
How to change the TLS certificate/key without restarting the server?
Дата
Msg-id
20191017052042.ombzxzwzo7xet47t@raf.org
Список
Дерево обсуждения
How to change the TLS certificate/key without restarting the server? raf <raf@raf.org>
Re: How to change the TLS certificate/key without restarting theserver? Bruce Momjian <bruce@momjian.us>
Re: How to change the TLS certificate/key without restarting theserver? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Hi,

https://www.postgresql.org/docs/12/ssl-tcp.html says:

  "Using a passphrase also disables the ability to
  change the server's SSL configuration without a
  server restart."

How is key TLS key changed without a server restart?
Is replacing the server.crt/server.key files enough
or is there more to it?

And will existing connections continue to use the old
key until they disconnect?

cheers,
raf



В списке pgsql-admin по дате отправления
От: Gediminas Bazilevičius
Дата:
От: Dave Bolt
Дата:
Сообщение: RE: Save Session?
FAQ