]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: add the section parser for 'crt-store'
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 9 Feb 2024 14:12:15 +0000 (15:12 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 12 Apr 2024 13:38:54 +0000 (15:38 +0200)
commit00eb44864b00ee91d010805e4c0b752d41f4d3a8
tree2efc67e5052ae5e5f81224b63c0f1341ad4d8832
parentaaa72e06e5e996a1eecaef6597ca5543b220f7d4
MINOR: ssl: add the section parser for 'crt-store'

'crt-store' is a new section useful to define the struct ckch_store.

The "load" keyword in the "crt-store" section allows to define which
files you want to load for a specific certificate definition.

Ex:
    crt-store
        load crt "site1.crt" key "site1.key"
        load crt "site2.crt" key "site2.key"

    frontend in
        bind *:443 ssl crt "site1.crt" crt "site2.crt"

This is part of the certificate loading which was discussed in #785.
include/haproxy/cfgparse.h
include/haproxy/ssl_ckch-t.h
include/haproxy/ssl_ckch.h
src/ssl_ckch.c