Skip to content

Commit d8a3f3e

Browse files
committed
rgw: asio/beast add ssl hot-reload
Adds the `ssl_reload` config option to the beast frontend. This sets an interval in seconds to periodically reload the ssl context to pick up changes without restarting. It can be disabled (default) be setting it to `0`. Fixes: 65470 Signed-off-by: Henry Richter <[email protected]>
1 parent f92cc23 commit d8a3f3e

File tree

2 files changed

+157
-77
lines changed

2 files changed

+157
-77
lines changed

doc/radosgw/frontends.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ Options
6464
:Type: String
6565
:Default: None
6666

67+
``ssl_reload``
68+
69+
:Description: Optional interval in seconds to periodically recreate the SSL
70+
context, which reloads the SSL certificate and private key from
71+
their specified paths. A value of ``0`` disables this feature.
72+
The reload is non-disruptive to existing connections. If the re-
73+
load fails, the previous context continues to be used.
74+
75+
:Type: Integer
76+
:Default: 0
77+
6778
``ssl_options``
6879

6980
:Description: Optional colon separated list of SSL context options:

0 commit comments

Comments
 (0)