We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9070dbd + afdeae2 commit e70ffdfCopy full SHA for e70ffdf
lib/private/Files/ObjectStore/S3ObjectTrait.php
@@ -69,11 +69,14 @@ public function readObject($urn) {
69
'http' => [
70
'protocol_version' => $request->getProtocolVersion(),
71
'header' => $headers,
72
- ],
73
- 'ssl' => [
74
- 'cafile' => $this->getCertificateBundlePath()
75
]
76
];
+ $bundle = $this->getCertificateBundlePath();
+ if ($bundle) {
+ $opts['ssl'] = [
77
+ 'cafile' => $bundle
78
+ ];
79
+ }
80
81
if ($this->getProxy()) {
82
$opts['http']['proxy'] = $this->getProxy();
0 commit comments