You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess this is more or less expected due to how Registry accesses data. Period is by default used as a separator so using it in array keys is going to be problematic. I think this is correct code in your case:
$curlParams = array(
'transport' => array(
'curl' => array(
// DO NOT DO THIS ON A LIVE SITE - NEVER EVER FOLLOW ADVICE TO DO THIS !!!!
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_PROXY_SSL_VERIFYPEER => false, // PHP7.3+
CURLOPT_PROXY_SSL_VERIFYHOST => false,// PHP7.3+
),
),
);
Steps to reproduce the issue
CURL Options passed to the GMAIL Authentication Plugin are not used by the http transport. This is the bug. But digging deeper in abstract:
dump this code into test.php in the root of your Joomla site
This example is based on the Gmail Authentication Plugin code, stripped back.
Navigate to
http://yourdevdomain.dev/test.php
Expected result
No errors, the HTTP should use the curl transport and connect to the badssl.com site without exception or error.
Actual result
Exception thrown
SSL certificate problem: self signed certificate
System information (as much as possible)
PHP 7.4 tested
The text was updated successfully, but these errors were encountered: