Assignate a certificate <crtname> to a crt-list created automatically with the
frontend name and prefixed by @ (ex: '@frontend1').
- This implicit crt-list will be assigned to every "ssl" bind lines in a
- frontend that does not already have the "crt" or the "crt-list" line.
+ This implicit crt-list will be assigned to every "ssl" bind lines in the
+ current frontend.
+
crt-list commands from the stats socket are effective with this crt-list, so
one could replace, remove or add certificates and SSL options to it.
goto error;
}
- /* look for "ssl" bind lines without any crt nor crt-line */
+ /* look for "ssl" bind lines */
list_for_each_entry(b, &curproxy->conf.bind, by_fe) {
if (b->options & BC_O_USE_SSL) {
- if (eb_is_empty(&b->sni_ctx) && eb_is_empty(&b->sni_w_ctx)) {
- err_code |= ssl_sock_load_cert_list_file(crtlist_name, 0, b, curproxy, &err);
- if (err_code & ERR_CODE)
- goto error;
- }
+ err_code |= ssl_sock_load_cert_list_file(crtlist_name, 0, b, curproxy, &err);
+ if (err_code & ERR_CODE)
+ goto error;
}
}
}