mariadb/vio
Georg Richter d13080133f MDEV-14101 Provide an option to select TLS protocol version
Server and command line tools now support option --tls_version to specify the
TLS version between client and server. Valid values are TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3
or a combination of them. E.g.

--tls_version=TLSv1.3
--tls_version=TLSv1.2,TLSv1.3

In case there is a gap between versions, the lowest version will be used:
--tls_version=TLSv1.1,TLSv1.3 -> Only TLSv1.1 will be available.

If the used TLS library doesn't support the specified TLS version, it will use
the default configuration.

Limitations:

SSLv3 is not supported. The default configuration doesn't support TLSv1.0 anymore.
TLSv1.3 protocol currently is only supported by OpenSSL 1.1.0 (client and server) and
GnuTLS 3.6.5 (client only).

Overview of TLS implementations and protocols

Server:

+-----------+-----------------------------------------+
| Library   | Supported TLS versions                  |
+-----------+-----------------------------------------+
| WolfSSL   | TLSv1.1, TLSv1,2                        |
+-----------+-----------------------------------------+
| OpenSSL   | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
+-----------+-----------------------------------------+
| LibreSSL  | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
+-----------+-----------------------------------------+

Client (MariaDB Connector/C)
+-----------+-----------------------------------------+
| Library   | Supported TLS versions                  |
+-----------+-----------------------------------------+
| GnuTLS    | (TLSv1.0), TLSv1.1, TLSv1.2, TLSv1.3    |
+-----------+-----------------------------------------+
| Schannel  | (TLSv1.0), TLSv1.1, TLSv1.2             |
+-----------+-----------------------------------------+
| OpenSSL   | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
+-----------+-----------------------------------------+
| LibreSSL  | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
+-----------+-----------------------------------------+
2019-06-17 12:26:25 +02:00
..
docs MDEV-17926 FederatedX TODO is obsolete 2018-12-12 00:31:04 +01:00
CMakeLists.txt Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
test-ssl.c Update FSF Address 2019-05-11 21:29:06 +03:00
test-sslclient.c Update FSF Address 2019-05-11 21:29:06 +03:00
test-sslserver.c Update FSF Address 2019-05-11 21:29:06 +03:00
vio.c MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption library 2019-05-22 13:48:25 +02:00
vio_priv.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
viopipe.c Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
viosocket.c Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
viossl.c MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption library 2019-05-22 13:48:25 +02:00
viosslfactories.c MDEV-14101 Provide an option to select TLS protocol version 2019-06-17 12:26:25 +02:00
viotest-ssl.c Update FSF Address 2019-05-11 21:29:06 +03:00
viotest-sslconnect.cc Update FSF Address 2019-05-11 21:29:06 +03:00
viotest.cc Update FSF Address 2019-05-11 21:29:06 +03:00