Index: modules/platforms/cpp/network/include/ignite/network/network.h
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/network/include/ignite/network/network.h b/modules/platforms/cpp/network/include/ignite/network/network.h
--- a/modules/platforms/cpp/network/include/ignite/network/network.h	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/network/include/ignite/network/network.h	(date 1629365205094)
@@ -39,6 +39,8 @@
              */
             IGNITE_IMPORT_EXPORT void EnsureSslLoaded();
 
+            IGNITE_IMPORT_EXPORT std::string GetVersion();
+
             /**
              * Make basic TCP socket.
              */
Index: modules/platforms/cpp/odbc/src/connection.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/odbc/src/connection.cpp b/modules/platforms/cpp/odbc/src/connection.cpp
--- a/modules/platforms/cpp/odbc/src/connection.cpp	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/odbc/src/connection.cpp	(date 1629365205090)
@@ -144,7 +144,7 @@
 
             try
             {
-                network::ssl::EnsureSslLoaded();
+                LOG_MSG("Version of ssl: " << network::ssl::GetVersion());
             }
             catch (const IgniteError &err)
             {
Index: modules/platforms/cpp/odbc-test/src/test_utils.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/odbc-test/src/test_utils.cpp b/modules/platforms/cpp/odbc-test/src/test_utils.cpp
--- a/modules/platforms/cpp/odbc-test/src/test_utils.cpp	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/odbc-test/src/test_utils.cpp	(date 1629367559740)
@@ -106,6 +106,7 @@
         assert(cfgFile != 0);
 
         cfg.jvmOpts.push_back("-Xdebug");
+        cfg.jvmOpts.push_back("-ea");
         cfg.jvmOpts.push_back("-Xnoagent");
         cfg.jvmOpts.push_back("-Djava.compiler=NONE");
         cfg.jvmOpts.push_back("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005");
@@ -117,7 +118,8 @@
         cfg.jvmOpts.push_back("-DIGNITE_LOG_CLASSPATH_CONTENT_ON_STARTUP=false");
         cfg.jvmOpts.push_back("-Duser.language=en");
         // Un-comment to debug SSL
-        //cfg.jvmOpts.push_back("-Djavax.net.debug=ssl");
+        cfg.jvmOpts.push_back("-Djavax.net.debug=ssl");
+        //cfg.jvmOpts.push_back("-Djdk.tls.server.protocols=TLSv1.2");
 
         cfg.igniteHome = jni::ResolveIgniteHome();
         cfg.jvmClassPath = jni::CreateIgniteHomeClasspath(cfg.igniteHome, true);
Index: modules/platforms/cpp/network/src/network/network.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/network/src/network/network.cpp b/modules/platforms/cpp/network/src/network/network.cpp
--- a/modules/platforms/cpp/network/src/network/network.cpp	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/network/src/network/network.cpp	(date 1629365679251)
@@ -34,6 +34,14 @@
                 SslGateway::GetInstance().LoadAll();
             }
 
+            IGNITE_IMPORT_EXPORT std::string GetVersion()
+            {
+                SslGateway::GetInstance().LoadAll();
+                char* buf = SslGateway::GetInstance().SSLeay_version_(OPENSSL_VERSION);
+                std::string ret(buf);
+                return ret;
+            }
+
             IGNITE_IMPORT_EXPORT SocketClient* MakeTcpSocketClient()
             {
                 return new TcpSocketClient;
Index: modules/platforms/cpp/network/src/network/ssl/ssl_gateway.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/network/src/network/ssl/ssl_gateway.cpp b/modules/platforms/cpp/network/src/network/ssl/ssl_gateway.cpp
--- a/modules/platforms/cpp/network/src/network/ssl/ssl_gateway.cpp	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/network/src/network/ssl/ssl_gateway.cpp	(date 1629366450017)
@@ -82,6 +82,8 @@
                 {
                     const char* paths[] = {"bin", "lib"};
 
+                    std::cout << "openssl home :" << home << std::endl;
+
                     for (size_t i = 0; i < 2; i++) {
                         std::stringstream constructor;
 
@@ -91,8 +93,12 @@
 
                         Module mod = LoadModule(fullPath);
 
-                        if (mod.IsLoaded())
+                        if (mod.IsLoaded()) {
+                            std::cout << "loaded module from " << fullPath << std::endl;
                             return mod;
+                        } else {
+                            std::cout << "failed to load module from " << fullPath << std::endl;
+                        }
                     }
                 }
 
Index: modules/platforms/cpp/thin-client/src/ignite_client.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/modules/platforms/cpp/thin-client/src/ignite_client.cpp b/modules/platforms/cpp/thin-client/src/ignite_client.cpp
--- a/modules/platforms/cpp/thin-client/src/ignite_client.cpp	(revision aba0f10f83f57f5f68ca1011f3d0975f7bc803c1)
+++ b/modules/platforms/cpp/thin-client/src/ignite_client.cpp	(date 1629366450025)
@@ -17,9 +17,11 @@
 
 #include <ignite/thin/ignite_client.h>
 #include <ignite/thin/ignite_client_configuration.h>
+#include <ignite/network/network.h>
 
 #include "impl/ignite_client_impl.h"
 #include "impl/cache/cache_client_impl.h"
+#include "../../network/src/network/ssl/ssl_gateway.h"
 
 using namespace ignite::impl::thin;
 using namespace cache;
@@ -85,6 +87,8 @@
 
             SP_Void ptr(res);
 
+            std::cout << "openssl version: " << network::ssl::GetVersion() << std::endl;
+
             return IgniteClient(ptr);
         }
     }
