MySQL Forums
Forum List  »  Security

Re: Error connecting through SSH Tunnel
Posted by: Georgi Kodinov
Date: February 28, 2018 07:54AM

One possible explanation could be because you're using two different connectors with different defaults for ssl.

I assume you're on 5.7 (server and client), right ?

5.7 does enable SSL on the server when installing a new database. And the 5.7 native client does by default run with --ssl-mode=optional (meaning: do SSL if supported).
So I will not be surprised if your "non-web-application" tests do SSL on top of SSH.
It's easy to check: "/s" in the client returns the currently used encryption cipher (none if no SSL).

Whereas your web app is probably running without SSL because of the PHP connector probably doing the equivalent of --ssl-mode=disabled.

Options: ReplyQuote

Written By
December 06, 2017 03:04AM
December 06, 2017 05:01AM
December 06, 2017 05:23AM
Re: Error connecting through SSH Tunnel
February 28, 2018 07:54AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.