开发者

sysbench with SSL?

开发者 https://www.devze.com 2023-02-19 00:03 出处:网络
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 sysbe

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 th开发者_StackOverflowe location of the certificate files.

Any thoughts?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消