Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
mysql module add ssl connection support #5610
Add ssl connection support to MySQLService
@woosley please test it
tcp: name : 'local' user : 'user' pass : 'pass' host : 'localhost' port : '3306' ssl: key: 'path/to/key' cert: 'path/to/cet' ca: 'path/to/ca'
I only tested the case with ca configured, it seems other options are optional, and it works with MySQL-python in my case, but not pymysql. Pymysql complains about certificate not matching, maybe because I used a wildcard certificate.
python is 2.7.5 and os is centos7.5, all packages are installed via yum.