Ubuntu 20.04 after auto update and subgit 3.1.1 TLS10 error (E175002: SSL handshake failed)

So I have an old SVN, Visual SVN server, which I guess can only do TLS 1.0. My ubuntu machine got auto updated and now the command that I always ran to migrate my repo fails.
SubGit version 3.3.11 (‘Bobique’) build #4408

IMPORT FAILED

error: svn: E175002: SSL handshake failed: ‘The server selected protocol version TLS10 is not accepted by client preferences [TLS12]’
error: The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
error: Unexpected error has occurred;

I assume that the system updated updated the openssl client? And subgit uses the openssl client?

Is there a way to configure subgit to have it use TLS10? Upgrading the svn server at this point is not really an option…

Thanks!

Hello Andrzej,

I think the system updated Java to JDK 8u291 or 8u292 (of that is OpenJDK). The matter is that TLS 1.0 and 1.1 have bee disabled in those versions, see JDK-8202343 bug, it’s been included in 291/292:

Java™ SE Development Kit 8, Update 291 Release Notes
OpenJDK 8u292 Released

and that’s why the connection is not possible anymore. The best solution would be to upgrade VisualSVN to a newer version that supports TLS 1.2; or, a possible workaround is to use Java version earlier than 291/292.

1 Like

Right, that’s it. Downgraded to 8u252 and all is dandy now. Thanks.