Bug #92863 Mysql 8 connector with paramater: useSSL=false
Submitted: 19 Oct 2018 11:13 Modified: 23 Nov 2018 8:57
Reporter: Yongsheng Yang Email Updates:
Status: No Feedback Impact on me:
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[19 Oct 2018 11:13] Yongsheng Yang
Hello, I found this parameter make my application can't work with some Https request, but if I use mysql5 connection library and use useSSL=false, connection to mysql 8 server, that won't have this issue. so any difference about that?

How to repeat:
I use https request in my java code, and that failed.
[22 Oct 2018 6:51] Alexander Soklakov
Hi Yongsheng,

Please, provide something we could analyze, like stack traces, connection string etc.

Also, you could check the Connector/J documentation about establishing the SSL connection https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-using-ssl.html.

Please note that Connector/J does not support http or https protocol, only the MySQL one and, for c/J 8.0, the X Protocol, both with or without the SSL encryption.
[22 Oct 2018 11:21] Yongsheng Yang
Hello, sorry I have no info available for you on hand, plan to provide more info a little later. and here my question is about if with useSSL=false, if that possible have side influence to JVM params(with mysql-connector-java-8.0.13)?

[23 Oct 2018 8:57] Alexander Soklakov
No, useSSL does not change the JVM parameters. But please check if trustCertificateKeyStoreUrl, clientCertificateKeyStoreUrl and related connection options are not set if you want to use system variables.

[24 Nov 2018 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".