sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
5.94k stars 969 forks source link

Feature request: Allow using file-based certificates for front end SSL connections #1437

Open pythian-ciciliani opened 6 years ago

pythian-ciciliani commented 6 years ago

As discussed with @renecannao , version 2.0 generates SSL certificates for front-end connections (client -> Proxy) at startup and they are kept in memory. We would need ProxySQL to use custom certificates on files.

renecannao commented 6 years ago

Files are all located in datadir:

If all 3 files exist, ProxySQL will load them. If none of the 3 files, ProxySQL will create them. If only some of the 3 files are present, ProxySQL will refuse to start.

renecannao commented 6 years ago

This is fully implemented. It only needs to be documented.