[CONPY-147] Upgrade from version 1.0.1 to 1.02 or above gets SSL self signed certificate error Created: 2021-03-12 Updated: 2021-12-11 Resolved: 2021-12-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic, Installation |
| Affects Version/s: | 1.0.2, 1.0.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Carlos Quental | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Client:
|
||
| Description |
|
What I want: Upgrade MariaDB Connector/Python from version 1.0.1 to any more recent versions. Problem: I get an error when using mariadb.connect():
What I did: With 1.0.1 I can connect with TLS with this code:
With 1.0.2 and above, that code returns this error:
This is easily fixable with this code:
But then, we get a new error, which is what I need help with:
I don't know what makes this error show up from version 1.0.1 to 1.0.2, and I can't find relevant information on the internet. Some additional info: OpenSSL:
MariaDB SSL vars:
|
| Comments |
| Comment by José Manuel Santamaría Lema [ 2021-12-10 ] | |||||||||||
|
Hello, I work on the same company Carlos used to work, we tested with ubuntu 20.04 and python mariadb 1.0.8 and aparently we have no longer this problem, so I think this bug can be closed. Just for the record, we had to change our code like this:
|