commit | f784b90eae4c5f27fd8fa4a4ba2c72a03993ae94 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Tue Oct 25 12:31:39 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Oct 25 12:36:48 2022 +0200 |
tree | 414e3bd1cb96663e4c58eaf0183d1b95ea050515 | |
parent | d08a25b1f125eaf79475d8e42f2eb51683bf91a0 [diff] |
MINOR: ssl: add the SSL error string when failing to load a certificate Add the SSL error string when failing to load a certificate in ssl_sock_load_pem_into_ckch(). It's difficult to know what happen when no descriptive errror are emitted. Example: [ALERT] (1264006) : config : parsing [ssl_default_server.cfg:51] : 'bind /tmp/ssl.sock' in section 'listen' : unable to load certificate chain from file 'reg-tests/ssl//common.pem': ASN no PEM Header Error