Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sysbench with SSL?

Has anyone tried benchmarking MySQL with sysbench using the "mysql-ssl" option?

I can't figure out where sysbench looks for the client key, client certificate, and ca cert. You can find the sysbench manual here (http://sysbench.sourceforge.net/docs/), but it doesn't have any mention of the location of the certificate files.

Any thoughts?

like image 709
Chrisc Avatar asked Nov 23 '25 12:11

Chrisc


1 Answers

Ok, I got it figured out. If sysbench is started with the "--mysql-ssl=on" option, it looks in the current directory for the following files:

client-cert.pem
client-key.pem
cacert.pem (note no dash)

Hope this helps other confused sysbench-ers.

Chris

like image 113
Chrisc Avatar answered Nov 28 '25 16:11

Chrisc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!