Skip to content

connection failed with drogon when mysql db is ssl required #2273

@rafeeque1

Description

@rafeeque1

my mysql db is SSL enabled , when trying to connect it using drogon orm , its giving below error,

ERROR Error(2026) "TLS/SSL error: self-signed certificate in certificate chain" - MysqlConnection.cc:333

its because of

addDbClient(orm::MysqlConfig{host,

here we are just providing generic info , not ssl/tls related information.
i am using ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions