[CONJ-882] TLS connection parameters are ignored in properties and must be set in URL Created: 2021-05-11 Updated: 2021-05-11 Resolved: 2021-05-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | configuration, SSL, TLS |
| Affects Version/s: | 2.7.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Diego Dupin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently, TLS parameters must be set in the connection URL. If you try to set them in a Properties object, the connection attempt will fail. For example, this test program successfully connects:
But this test program fails to connect:
The stack trace is:
This seems to apply to the following TLS parameters at least, but I have not tested every TLS parameter:
|
| Comments |
| Comment by Diego Dupin [ 2021-05-11 ] | |
|
closing since that dupplicate
would work. |