phpmyadmin icon indicating copy to clipboard operation
phpmyadmin copied to clipboard

Allow SSL connection when using arbitrary server

Open ibennetch opened this issue 9 years ago • 4 comments

2.3) Add setting for using SSL connections in login when $cfg['AllowArbitraryServer']=true

When $cfg['AllowArbitraryServer'] is true, the user can enter the server to connect to, but doesn't have option to enable ssl connection.

[I suggest to try ssl connection first and use it by default for non local machine 127.0.0.1/localhost, if it failed try non-ssl connection and show message about it [as in point 2.2 #12354]]

Motivations:

  • Increase usage of MYSQL TLS connections (avoid sniffing/MITM attacks)

ibennetch avatar Jul 01 '16 13:07 ibennetch

Suggested by Emanuel Bronshtein

ibennetch avatar Jul 01 '16 13:07 ibennetch

+1

LeDistordu avatar Dec 11 '17 09:12 LeDistordu

any progress or plans to implement this? seems pretty important feature for anyone using arbitrary server feature.

bline108 avatar Sep 12 '22 18:09 bline108

any progress or plans to implement this? seems pretty important feature for anyone using arbitrary server feature.

Thanks for the ping, I assigned this to the next minor version. I think we could add a checkbox to enable SSL for arbitrary connections

williamdes avatar Sep 12 '22 20:09 williamdes

I see that this didn't make it into the 5.3.0 milestone. Has anybody done any work on this? It seems to me that this is a fairly important security feature.

If I created a pull for this to add a checkbox for SSL for arbitrary connections that would default to checked, what are the chances that it would get accepted?

ThreeDfish avatar May 15 '23 18:05 ThreeDfish

I see that this didn't make it into the 5.3.0 milestone. Has anybody done any work on this? It seems to me that this is a fairly important security feature.

If I created a pull for this to add a checkbox for SSL for arbitrary connections that would default to checked, what are the chances that it would get accepted?

Yes most probably, can you make a pull-request for the master branch? So this goes into 6.0?

williamdes avatar Jul 14 '23 05:07 williamdes