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

When access is denied due to SSL being missing, error message doesn't tell you

    XMLWordPrintable

Details

    Description

      When an attempt is made to log into mysql with a user that requires SSL, and the client does not use SSL, the following error message is displayed:

      170105 23:24:49    16 Connect   user@docs.example.com as anonymous on 
                         16 Connect   Access denied for user 'user'@'docs.example.com' (using password: YES)
                         17 Connect   user@docs.example.com as anonymous on 
      

      While the error message confirms that a password was present, the error message does not confirm whether SSL is present, and this causes significant confusion, particularly among people who are not DBAs.

      The error message needs to be updated to include:

      • Whether a password was used (yes/no).
      • Whether SSL/TLS was used (yes/no).
      • Whether an SSL client certificate was used (yes/no).

      Attachments

        Activity

          People

            Unassigned Unassigned
            minfrin Graham Leggett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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