From 9cb8a943480de482245d2d2a7c3aec0e7268dcd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernestas=20Luko=C5=A1evi=C4=8Dius?= Date: Mon, 4 Mar 2019 16:35:46 +0200 Subject: [PATCH] Quick fix to use SSL --- src/Ifsnop/Mysqldump/Mysqldump.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ifsnop/Mysqldump/Mysqldump.php b/src/Ifsnop/Mysqldump/Mysqldump.php index 6f5f8389..4cf40e58 100644 --- a/src/Ifsnop/Mysqldump/Mysqldump.php +++ b/src/Ifsnop/Mysqldump/Mysqldump.php @@ -164,6 +164,8 @@ public function __construct( $pdoSettingsDefault = array( PDO::ATTR_PERSISTENT => true, + PDO::MYSQL_ATTR_SSL_CA => '/etc/ssl/certs/rds.pem', + PDO::ATTR_SSL_CA => '/etc/ssl/certs/rds.pem', PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, );