Skip to content

MySQL secure transmission bug #60538

@NefelibataJay

Description

@NefelibataJay

Search before asking

  • I had searched in the issues and found no similar issues.

Version

doris-version : 3.1.4

fe.conf

mysql_ssl_default_ca_certificate = ${DORIS_HOME}/mysql_ssl_default_certificate/ca_certificate.p12
mysql_ssl_default_ca_certificate_password = xxx
mysql_ssl_default_server_certificate = ${DORIS_HOME}/mysql_ssl_default_certificate/server_certificate.p12
mysql_ssl_default_server_certificate_password = xxx
enable_ssl = true
ssl_force_client_auth = true

What's Wrong?

Enable SSL encryption for fe, and still be able to force the connection with --ssl-mode=Disable.
Using mysql --ssl-ca=ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem -uroot -P9030 -h127.0.0.1 can also enable a normal connection.

What You Expected?

Is there any similar configuration like require_secure_transport=ON like in MySQL? Is it mandatory for the client to use SSL connection?

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions