Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

gRPC connections try to use the highest possible TLS version

Last updated on 9 December 2024

Overview

If you use the gRPC protocol to connect to a server vault, you may notice that it uses the latest available TLS protocol version on the machine, instead of any settings explicitly choosing a different one (more on those here).

At the time of writing, this newest version would be TLS 1.3, and the problem this could pose could be around the OS versions that support it or do not support it, and around other network nodes that may fail with it. For example, Windows 11 and Windows Server 2022 support TLS 1.3, and so this would be used, but if the server hosting M-Files server or any other nodes (such as firewall, proxy) do not - the connection may fail (typically, the shared version, such as TLS 1.2 would be negotiated but the results may vary depending on the situation and components involved).

Details

The networking component for the gRPC connections does not have a feature or setting for the TLS version or ciphersuites it would use, so it uses the newest one it can find, and disregards explicit settings from the OS.

Solution

The only solution at the moment is to use components on the server side that support those protocol versions (for example, the M-Files new cloud supports TLS 1.3).

Still need help?