Allow non standard cert dir

This commit is contained in:
Kilian committed 2022-09-05 14:32:08 +02:00
1 parent 2914e1fa59
commit b695f4cb6c
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ namespace ix
else
{
if (SSL_CTX_load_verify_locations(
_ssl_context, _tlsOptions.caFile.c_str(), NULL) != 1)
_ssl_context, _tlsOptions.caFile.c_str(), IXWEBSOCKET_OPEN_SSL_CERTS) != 1)
{
auto sslErr = ERR_get_error();
errMsg = "OpenSSL failed - SSL_CTX_load_verify_locations(\"" +