Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
None
-
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 |