TLS almost connects. Needs read and write logic finished.
This commit is contained in:
1 parent
e0c0e2c07e
commit
5feabd0fde
10 files changed
+45
-27
No files matched your search
@@ -85,7 +85,7 @@ namespace core {
|
||||
if(!SSL_CTX_load_verify_locations(ctx, tlsInfo->cACertificate.c_str(), NULL))
|
||||
throw coreutils::Exception("Cannot verify locations.");
|
||||
SSL_CTX_set_client_CA_list(ctx, SSL_load_client_CA_file(tlsInfo->cACertificate.c_str()));
|
||||
coreutils::Log(coreutils::LOG_DEBUG_1) << "Server key authenticated.";
|
||||
coreutils::Log(coreutils::LOG_INFO) << "Server key authenticated.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user