[Ilugc] Mysql user's SSL connection status

  • From: gwalashish@xxxxxxxxx (Ashish Yadav)
  • Date: Mon, 11 May 2015 10:43:59 +0530

Hi,

On Sun, May 10, 2015 at 7:46 PM, Balasubramaniam Natarajan <
bala150985 at gmail.com> wrote:

Hi

When I enable SSL based connection to mysql server I can type \s at the
mysql prompt to know if I am riding on top of an ssl connection to my mysql
server.


How did you create the MySQL "users" in the server?
You have to forced the user to use "SSL" at the time creation only.

After that you have to create client's certificate and
configure client side's /etc/my.cnf appropriately to enable "SSL" using
those certificate.

You can also refer below link for more detail,

<http://lowendbox.com/blog/getting-started-with-mysql-over-ssl/>



How can I ensure that the other users who had logged in to my mysql server
is also logged in via the SSL pipe line.  The round about method would be
for me to capture pcap and see.  However I would like to know if there is a
show status command for other users who has logged in.  My Google kufu is
not getting me much.


For that you can use Wireshark and see the password is indeed encrypted or
not.


--Regards
Ashishkumar S. Yadav

Other related posts: