Barnyard2 with MySQL SSL

172 views
Skip to first unread message

Steve McLaughlin

unread,
Jun 7, 2013, 2:45:51 AM6/7/13
to barnyar...@googlegroups.com
Li list,

Does barnyard2 support connections to SSL encrypted MySQL servers?
If so, is there any barnyard2 client configuration required to connect to MySQL with SSL?

thanks,
Ll

beenph

unread,
Jun 7, 2013, 10:20:11 AM6/7/13
to barnyar...@googlegroups.com
Hi Steve,

You will configuration details the README.database file.
https://github.com/firnsy/barnyard2/blob/master/doc/README.database

If you have already a binary compiled with --enable-mysql, the only requirement
is to add the options needed.


<SNIP>
MYSQL ONLY

ssl_key - the name of the SSL key file to use for establishing a secure
connection.

ssl_cert - the path of the SSL certificate file to user for establishing
a secure connection.

ssl_ca - the path to a file that contains a list of trusted SSL CAs.

ssl_ca_path - The path to a directory that contains trusted SSL CA
certificates in PEM format.

ssl_cipher - A list of allowable ciphers to user for SSL encryption. For
greatest portability, the cipher list should be of one or more
cipher namges, separated by colons. Examples:

ssl_cipher=AES128-SHA
ssl_cipher=DHE-RSA-AES256-SHA:AES128-SHA

If no cipher in the list is supported, SSL connections will not work.
</SNIP>


-elz


> thanks,
> Ll
>
Reply all
Reply to author
Forward
0 new messages