[Phpmyadmin-devel] MYSQLI_CLIENT_SSL

Hi, I wonder if $cfg['Servers'][$i]['ssl'] = true; being true by default will not cause us some problems. https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909 http://ca.php.net/mysqli MYSQLI_CLIENT_SSL Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library. =========== "should not be set by application programs": this is us, no? :) They don't mention this warning for MYSQL_CLIENT_SSL. Marc

Marc Delisle wrote:
Hi, I wonder if $cfg['Servers'][$i]['ssl'] = true;
being true by default will not cause us some problems.
https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909
http://ca.php.net/mysqli MYSQLI_CLIENT_SSL
Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library. ===========
"should not be set by application programs": this is us, no? :)
They don't mention this warning for MYSQL_CLIENT_SSL.
Marc
-
see my comment from Dec 06 : http://sourceforge.net/tracker/index.php?func=detail&aid=1588882&group_id=23... -- View this message in context: http://www.nabble.com/MYSQLI_CLIENT_SSL-tf3309535.html#a9206789 Sent from the phpmyadmin-devel mailing list archive at Nabble.com.

Marc Delisle wrote:
Hi, I wonder if $cfg['Servers'][$i]['ssl'] = true;
being true by default will not cause us some problems.
https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909
http://ca.php.net/mysqli MYSQLI_CLIENT_SSL
Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library. ===========
"should not be set by application programs": this is us, no? :)
They don't mention this warning for MYSQL_CLIENT_SSL.
Marc
from the irc #phpmyadmin (today): 15:42 <krom> i have a problem, and i've searched the web and didn't found a solution 15:42 <krom> after using the script to setup the config.inc.php file 15:43 <krom> i open the browser and it gives me an error "#1043 - Bad handshake" ---8<--- [17:54] <pipas> after configuring config.inc.php the startpage it's giving a error [17:54] <pipas> #1043 - Bad handshake [17:59] <pipas> phpMyAdmin 2.10.0 [18:00] <jw_k> try $cfg['Servers'][$i]['ssl'] = false; [18:02] <pipas> ok "$cfg['Servers'][$i]['ssl'] = false;" did it :) pma 2.10.1 needed? -- View this message in context: http://www.nabble.com/MYSQLI_CLIENT_SSL-tf3309535.html#a9208237 Sent from the phpmyadmin-devel mailing list archive at Nabble.com.

Jürgen Wind a écrit :
Marc Delisle wrote:
Hi, I wonder if $cfg['Servers'][$i]['ssl'] = true;
being true by default will not cause us some problems.
https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909
http://ca.php.net/mysqli MYSQLI_CLIENT_SSL
Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library. ===========
"should not be set by application programs": this is us, no? :)
They don't mention this warning for MYSQL_CLIENT_SSL.
Marc
from the irc #phpmyadmin (today): 15:42 <krom> i have a problem, and i've searched the web and didn't found a solution 15:42 <krom> after using the script to setup the config.inc.php file 15:43 <krom> i open the browser and it gives me an error "#1043 - Bad handshake" ---8<--- [17:54] <pipas> after configuring config.inc.php the startpage it's giving a error [17:54] <pipas> #1043 - Bad handshake [17:59] <pipas> phpMyAdmin 2.10.0 [18:00] <jw_k> try $cfg['Servers'][$i]['ssl'] = false; [18:02] <pipas> ok "$cfg['Servers'][$i]['ssl'] = false;" did it :)
pma 2.10.1 needed?
More testers for betas and release candidates are needed :) Most likely a release of 2.10.0.1 for this quick fix (default setting to false). And later, 2.10.1 for a complete fix (according to your comment in https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909 ) Sebastian, Michal, comments? Marc

Marc Delisle schrieb:
Hi, I wonder if $cfg['Servers'][$i]['ssl'] = true;
being true by default will not cause us some problems.
https://sourceforge.net/forum/forum.php?thread_id=1683182&forum_id=72909
http://php.net/mysqli MYSQLI_CLIENT_SSL
Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library. ===========
"should not be set by application programs": this is us, no? :)
/* Optionally enable SSL */ if ($GLOBALS['cfg']['Server']['ssl'] && defined('MYSQLI_CLIENT_SSL')) { $client_flags |= MYSQLI_CLIENT_SSL; } should be: /* Optionally enable SSL */ if ($GLOBALS['cfg']['Server']['ssl'] && defined('MYSQLI_CLIENT_SSL')) { mysqli_ssl_set(...) } but this requires key and certificate ... http://php.net/mysqli_ssl_set
They don't mention this warning for MYSQL_CLIENT_SSL.
there is no other function to enable SSL in mysql do the bug reporter have used mysqli or mysql? seems problem occurs only on mysqli with ssl support enabled all other seems to not use mysqli or not have build in ssl support ... -- Sebastian Mendel www.sebastianmendel.de
participants (3)
-
Jürgen Wind
-
Marc Delisle
-
Sebastian Mendel