]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/lua: CertCache.set() allows to update an SSL certificate file
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 30 Mar 2022 10:03:12 +0000 (12:03 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 30 Mar 2022 12:56:10 +0000 (14:56 +0200)
commit30fcca18a57b8d82f60b1a43b6fc4897f6f531c9
treec11be1e27791e4940c0de97afc0ac6b68393dba0
parent26654e7a59f7097d263ad5b29c7a9dea58401ee8
MINOR: ssl/lua: CertCache.set() allows to update an SSL certificate file

The CertCache.set() function allows to update an SSL certificate file
stored in the memory of the HAProxy process. This function does the same
as "set ssl cert" + "commit ssl cert" over the CLI.

This could be used to update the crt and key, as well as the OCSP, the
SCTL, and the OSCP issuer.

The implementation does yield every 10 ckch instances, the same way the
"commit ssl cert" do.
include/haproxy/hlua-t.h
src/hlua.c
src/ssl_ckch.c