Skip to content

Commit ce674cd

Browse files
committed
Print the default CA certs of OpenSSL
1 parent 37bdf5b commit ce674cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ClientConnection.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919
#include "ClientConnection.h"
2020

21+
#include <openssl/x509.h>
2122
#include <pulsar/MessageIdBuilder.h>
2223

2324
#include <boost/optional.hpp>
@@ -226,6 +227,8 @@ ClientConnection::ClientConnection(const std::string& logicalAddress, const std:
226227
throw ResultAuthenticationError;
227228
}
228229
} else {
230+
LOG_INFO("Use default verify paths | dir: " << X509_get_default_cert_dir()
231+
<< ", path: " << X509_get_default_cert_file());
229232
ctx.set_default_verify_paths();
230233
}
231234
}

0 commit comments

Comments
 (0)