Skip to content

How to establish SSL connection to MySQL server #2

@whataboutpereira

Description

@whataboutpereira

Trying to connect to MySQL server with SSL but it fails with:

table-passwd[67181]: debug: (re)connecting
table-passwd[67181]: warn: mysql_real_connect: Connections using insecure transport are prohibited while --require_secure_transport=ON.
table-passwd[67181]: fatal: could not connect
lookup: table-proc: getline: Connection reset by peer

Settings in /etc/my.cnf have no effect:

[client]
ssl-ca=/path/to/certs/ca.pem
ssl-cert=/path/to/certs/client-cert.pem
ssl-key=/path/to/certs/client-key.pem

This is happening on AlmaLinux 10:

OpenSMTPD 7.8.0p0
table-mysql 1.2.1
mariadb-connector-c

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