MySQL Forums
Forum List  »  Perl

Re: DBI/ssl help - now querying but can't confirm encryption
Posted by: Cyril Spiro
Date: June 30, 2006 01:47PM

I was able to solve the problem posted by Richard Schumert by placing the ssl certs directly into the mysql directory and so that there was no need to point down a PATH to the files.

But, even though I have the ssl certs pointed to by the my.cnf file and I've placed "mysql_ssl=1;mysql_ssl_client_key=server.key;mysql_ssl_client_cert=certfile.crt;mysql_ssl_ca_file=sf_issuing.crt" in the DBI connect line I'm not convinced the packet is being sent in an encrypted format.

I am querying the database on a server from a script on a PC within my network, and I have an ethereal sniffer loaded on the server. When I query the database, I can see the packet going from the server to the PC (IP addresses identified by the sniffer) and I can read the data unencrypted!

Any ideas on how I can confirm that the data is actually encrypted??

Options: ReplyQuote

Written By
March 23, 2006 08:16PM
March 24, 2006 11:15AM
May 28, 2006 01:34AM
June 07, 2006 01:06AM
June 28, 2006 04:15PM
July 01, 2006 09:54AM
Re: DBI/ssl help - now querying but can't confirm encryption
June 30, 2006 01:47PM

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.