From ab751f57c208a4d6f5276a9872235e6bee756e43 Mon Sep 17 00:00:00 2001 From: Lee Maguire Date: Thu, 11 Jul 2024 21:08:27 +0100 Subject: [PATCH] Try out use_default_verify --- src/cpprealm/internal/network/network_transport.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cpprealm/internal/network/network_transport.cpp b/src/cpprealm/internal/network/network_transport.cpp index 2110c0c6..bcdc8e70 100644 --- a/src/cpprealm/internal/network/network_transport.cpp +++ b/src/cpprealm/internal/network/network_transport.cpp @@ -224,9 +224,7 @@ namespace realm::networking { if (m_configuration.ssl_trust_certificate_path) { m_ssl_context.use_certificate_chain_file(*m_configuration.ssl_trust_certificate_path); } else { -#if REALM_INCLUDE_CERTS - m_ssl_context.use_included_certificate_roots(); -#endif + m_ssl_context.use_default_verify(); } if (url_scheme == URLScheme::HTTPS) {