Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-29811

server advertises ssl even if it's unusable

Details

    Description

      if the server is started with --ssl but without properly configured certificates, it will advertise the ssl support in the handshake, but will not actually be able to use it. so a client with --ssl will fail to connect with the ssl error (e.g. "sslv3 alert handshake failure" in OpenSSL).

      I think the server should not start if it was requested to use ssl, but it cannot actually do it.

      Attachments

        Issue Links

          Activity

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Description if the server is started with {{--ssl}} but without properly configured certificates, it will advertise the ssl support in the handshake, but will not actually be able to use it. so a client with {{--ssl}} will fail to connect with the ssl error (e.g. "sslv3 alert handshake failure" in OpenSSL).

            I think the server should not start it it was requested to use ssl, but it cannot actually do it.
            if the server is started with {{\-\-ssl}} but without properly configured certificates, it will advertise the ssl support in the handshake, but will not actually be able to use it. so a client with {{--ssl}} will fail to connect with the ssl error (e.g. "sslv3 alert handshake failure" in OpenSSL).

            I think the server should not start it it was requested to use ssl, but it cannot actually do it.
            serg Sergei Golubchik made changes -
            Assignee Oleksandr Byelkin [ sanja ]
            serg Sergei Golubchik made changes -
            Affects Version/s 10.3 [ 22126 ]
            Affects Version/s 10.4 [ 22408 ]
            Affects Version/s 10.5 [ 23123 ]
            Affects Version/s 10.6 [ 24028 ]
            Affects Version/s 10.7 [ 24805 ]
            Affects Version/s 10.8 [ 26121 ]
            Affects Version/s 10.9 [ 26905 ]
            Affects Version/s 10.10 [ 27530 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.6 [ 24028 ]
            Fix Version/s 10.7 [ 24805 ]
            Fix Version/s 10.8 [ 26121 ]
            Fix Version/s 10.9 [ 26905 ]
            Fix Version/s 10.10 [ 27530 ]
            wlad Vladislav Vaintroub made changes -
            Assignee Oleksandr Byelkin [ sanja ] Vladislav Vaintroub [ wlad ]
            serg Sergei Golubchik made changes -
            Description if the server is started with {{\-\-ssl}} but without properly configured certificates, it will advertise the ssl support in the handshake, but will not actually be able to use it. so a client with {{--ssl}} will fail to connect with the ssl error (e.g. "sslv3 alert handshake failure" in OpenSSL).

            I think the server should not start it it was requested to use ssl, but it cannot actually do it.
            if the server is started with {{\-\-ssl}} but without properly configured certificates, it will advertise the ssl support in the handshake, but will not actually be able to use it. so a client with {{--ssl}} will fail to connect with the ssl error (e.g. "sslv3 alert handshake failure" in OpenSSL).

            I think the server should not start if it was requested to use ssl, but it cannot actually do it.
            wlad Vladislav Vaintroub made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            wlad Vladislav Vaintroub made changes -
            Assignee Vladislav Vaintroub [ wlad ] Oleksandr Byelkin [ sanja ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            sanja Oleksandr Byelkin made changes -
            Assignee Oleksandr Byelkin [ sanja ] Vladislav Vaintroub [ wlad ]
            wlad Vladislav Vaintroub made changes -
            Assignee Vladislav Vaintroub [ wlad ] Oleksandr Byelkin [ sanja ]
            sanja Oleksandr Byelkin made changes -
            Assignee Oleksandr Byelkin [ sanja ] Vladislav Vaintroub [ wlad ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            wlad Vladislav Vaintroub made changes -
            Component/s Server [ 13907 ]
            Fix Version/s 10.3.37 [ 28404 ]
            Fix Version/s 10.4.27 [ 28405 ]
            Fix Version/s 10.5.18 [ 28421 ]
            Fix Version/s 10.6.11 [ 28441 ]
            Fix Version/s 10.7.7 [ 28442 ]
            Fix Version/s 10.8.6 [ 28443 ]
            Fix Version/s 10.9.4 [ 28444 ]
            Fix Version/s 10.10.2 [ 28410 ]
            Fix Version/s 10.11.1 [ 28454 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.6 [ 24028 ]
            Fix Version/s 10.7 [ 24805 ]
            Fix Version/s 10.8 [ 26121 ]
            Fix Version/s 10.9 [ 26905 ]
            Fix Version/s 10.10 [ 27530 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            hsalvar Alvar Penning made changes -
            uhofemeier Ulf Hofemeier made changes -
            Attachment config-file.cnf [ 67866 ]
            uhofemeier Ulf Hofemeier made changes -
            Attachment docker-compose.yml [ 67867 ]
            serg Sergei Golubchik made changes -

            People

              wlad Vladislav Vaintroub
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.