[CONPY-170] ssl option in option file is ignored Created: 2021-10-08 Updated: 2021-10-08 Resolved: 2021-10-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Documentation |
| Affects Version/s: | 1.0.7 |
| Fix Version/s: | 1.1.0b2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chu3Shah | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 11 Bullseye |
||
| Python Version: | 3.9 |
| Description |
|
If the ssl option is defined in an option file and is included via mariadb.connect(default_file='...'), it gets ignored. It would be nice if the options which can go in an option file (and are recognized by CONPY) are documented. |
| Comments |
| Comment by Georg Richter [ 2021-10-08 ] |
|
Thanks for your bug report. While configuration file settings are described in the knowledge base, they are not included in Connector/C (which is used by Connector/Python). Connector/Python should have a link to the option file configuration in Connector/C. The option for establishing a tls connection is ssl_enforce=1 |
| Comment by Georg Richter [ 2021-10-08 ] |
|
Fixed in documentation (https://mariadb-corporation.github.io/mariadb-connector-python/module.html) For a description of configuration file handling and settings please read the chapter Configuration files of the MariaDB Connector/C documentation. |
| Comment by Chu3Shah [ 2021-10-08 ] |
|
Great! Thank you! |