mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04:00
MINOR: startup: Add the SSL lib verify directory in haproxy -vv
SSL libraries built manually might lack the right X509_get_default_cert_dir() value. The common way to fix the problem is to build openssl with ./configure --openssldir=/etc/ssl/ In order to verify this setting, output it with haproxy -vv.
This commit is contained in:
parent
c724693b95
commit
2ac0d12790
1 changed files with 1 additions and 0 deletions
|
|
@ -8554,6 +8554,7 @@ static void ssl_register_build_options()
|
|||
#if defined(USE_OPENSSL) && (HA_OPENSSL_VERSION_NUMBER < 0x3000000fL)
|
||||
memprintf(&ptr, "%s\nSSL library FIPS mode : %s", ptr, FIPS_mode() ? "yes" : "no");
|
||||
#endif
|
||||
memprintf(&ptr, "%s\nSSL library default verify directory : %s", ptr, X509_get_default_cert_dir());
|
||||
memprintf(&ptr, "%s\nSSL library supports :", ptr);
|
||||
for (i = CONF_TLSV_MIN; i <= CONF_TLSV_MAX; i++)
|
||||
if (methodVersions[i].option)
|
||||
|
|
|
|||
Loading…
Reference in a new issue