Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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