I am familiar with public / private key conversations implemented in HTTPS, so the following driver parameters are confusing to me, which are clearly available (although not officially documented) for the MySQL PDO driver:
PDO::MYSQL_ATTR_SSL_KEY PDO::MYSQL_ATTR_SSL_CERT PDO::MYSQL_ATTR_SSL_CA
The link indicates that they point to files stored locally, but why is a copy of anything other than the CA certificate stored on the client? Has anyone successfully made an encrypted connection using this method?
source share