diff --git a/src/caosdb/connection/connection.py b/src/caosdb/connection/connection.py
index 8a2e9408800f05425d76e2f51d4501934d8eb3c8..43eb3410d8d5bdc8323a811fd2b6424fb75f3fda 100644
--- a/src/caosdb/connection/connection.py
+++ b/src/caosdb/connection/connection.py
@@ -176,18 +176,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
         if "ssl_version" in config and config["cacert"] is not None:
             ssl_version = getattr(ssl, config["ssl_version"])
         else:
-            try:
-                ssl_version = ssl.PROTOCOL_TLS
-            except AttributeError:
-                # TODO(tfitschen): This can be removed since we require Python
-                # >= 3.8 anyway, can't it?
-                # deprecated since Python 3.6, but necessary until there.
-                try:
-                    ssl_version = ssl.PROTOCOL_TLSv1_2
-                except AttributeError:
-                    print("It seems as if your Python version does not support current encryption"
-                          "standards (such as TLS > 1.0), please upgrade to at least Python 3.4.")
-                    sys.exit(1)
+            ssl_version = ssl.PROTOCOL_TLS
         context = ssl.SSLContext(ssl_version)
         context.verify_mode = ssl.CERT_REQUIRED