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

openssl s_client error 1408F10B

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • None
    • N/A
    • SSL
    • None
    • Debian 10 (Buster)

    Description

      Hello!

      I get this error when trying to inspect the MariaDB 10.4. certificate with:

      openssl s_client -connect srv.addr.tld:3306
       
      error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:
      

      Though the server certificate seems fine:

      openssl verify -CAfile ca.pem server-cert.pem
      server-cert.pem: OK
      

      Is this expected behavior?

      Update:
      It works if the OpenSSL version is >= 1.1.1 and the -starttls option is set:

      openssl s_client -starttls mysql -connect srv.addr.tld:3306
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            Oy5p aegh Oy5p aegh
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.