-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MySQLi SSL verify #1219
Comments
There are no changes made by the MySQL community in MySQL 8 implementation in case of mysql_real_connect with SSL. The changes asked by @puschie286 are already there in the code like setting a VERIFY and DONT VERIFY,
|
you have it as option but not as flag. https://www.php.net/manual/de/mysqli.options.php |
not sure why but we also use MYSQLI_CLIENT_SSL_VERIFY_SERVER_CERT instead of MYSQLI_CLIENT_SSL flag |
Mysql connection issue with MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT #1219
I found some problems with the ssl verify -> currently you apply the "ssl_verify" config with the "options" method. This seems not to work for the new mysql version.
my workaround is to apply the config by set client_flag to MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT or MYSQLI_CLIENT_SSL_VERIFY_SERVER_CERT.
dont know if this is always required to establish a ssl connection but it was the only possible way for us
Context
The text was updated successfully, but these errors were encountered: