CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/10/10 21:21:44
Modified files:
usr.sbin/httpd : parse.y server.c
Log message:
Handle absence of TLS certs while parsing the config
There is a soft fail mechanism to handle missing certs for seamless
interaction with acme-client. Move this to the config parser. This is
simpler than server.c r1.117 and avoids a crash due to listening on
port 443 without having set up the TLS context first. More precisely,
the crash happens if a server with missing certificate is visited via
https in a configuration where there is a second server with valid
certificate and key.
>From Joshua Sing (joshua at hypera dot dev)
ok benno