app/Foundation/Http/Client.php 1 location
|
@@ 219-225 (lines=7) @@
|
216 |
|
$context['http']['request_fulluri'] = true; |
217 |
|
} |
218 |
|
|
219 |
|
if (HTTP_VERIFY_SSL_CERTIFICATE === false) { |
220 |
|
$context['ssl'] = [ |
221 |
|
'verify_peer' => false, |
222 |
|
'verify_peer_name' => false, |
223 |
|
'allow_self_signed' => true, |
224 |
|
]; |
225 |
|
} |
226 |
|
|
227 |
|
return $context; |
228 |
|
} |
app/Foundation/Mail/Transport/Smtp.php 1 location
|
@@ 32-40 (lines=9) @@
|
29 |
|
$transport->setUsername(MAIL_SMTP_USERNAME); |
30 |
|
$transport->setPassword(MAIL_SMTP_PASSWORD); |
31 |
|
$transport->setEncryption(MAIL_SMTP_ENCRYPTION); |
32 |
|
if (HTTP_VERIFY_SSL_CERTIFICATE === false) { |
33 |
|
$transport->setStreamOptions([ |
34 |
|
'ssl' => [ |
35 |
|
'allow_self_signed' => true, |
36 |
|
'verify_peer' => false, |
37 |
|
'verify_peer_name' => false, |
38 |
|
], |
39 |
|
]); |
40 |
|
} |
41 |
|
|
42 |
|
return $transport; |
43 |
|
} |