summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SChannelEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SChannelEngine.cpp')
-rw-r--r--cpp/src/IceSSL/SChannelEngine.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/SChannelEngine.cpp b/cpp/src/IceSSL/SChannelEngine.cpp
index 89254a433bb..dee5965d975 100644
--- a/cpp/src/IceSSL/SChannelEngine.cpp
+++ b/cpp/src/IceSSL/SChannelEngine.cpp
@@ -565,7 +565,12 @@ SChannelEngine::newCredentialsHandle(bool incoming)
if(incoming)
{
- cred.dwFlags = SCH_CRED_NO_SYSTEM_MAPPER | SCH_SEND_ROOT_CERT;
+ //
+ // Don't set SCH_SEND_ROOT_CERT as it seems to cause problems with
+ // Java certificate validation and SChannel doesn't seems to send
+ // the root certificate either way.
+ //
+ cred.dwFlags = SCH_CRED_NO_SYSTEM_MAPPER;
}
else
{