@@ -595,6 +595,7 @@ class Factory
if ($config && $config->get('capath')) {
$remoteFilesystemOptions['ssl']['capath'] = $config->get('capath');
}
+ $remoteFilesystemOptions = array_replace_recursive($remoteFilesystemOptions, $options);
try {
$remoteFilesystem = new RemoteFilesystem($io, $config, $remoteFilesystemOptions, $disableTls);