drogonframework / drogonframework/drogon
connection failed with drogon when mysql db is ssl required
Open
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
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 [https://github.com/drogonframework/drogon/blob/cbf63f8fc4d849bbb82eeb1c83fcf8ff953f19f3/lib/src/HttpAppFrameworkImpl.cc#L988](https://github.com/drogonframework/drogon/blob/cbf63f8fc4d849bbb82eeb1c83fcf8ff953f19f3/lib/src/HttpAppFrameworkImpl.cc#L988)
here we are just providing generic info , not ssl/tls related information.
i am using ubuntu
Contributor guide
Assessment
This issue has not been assessed yet.