diff --git a/typo3/sysext/core/Classes/Http/RequestFactory.php b/typo3/sysext/core/Classes/Http/RequestFactory.php index b7a8e19806043d0a406a7e8fcbad35ffd30dc329..5bfe1975062c8a42be844fd9902252efc9171ca2 100644 --- a/typo3/sysext/core/Classes/Http/RequestFactory.php +++ b/typo3/sysext/core/Classes/Http/RequestFactory.php @@ -45,6 +45,9 @@ class RequestFactory */ protected function getClient(): ClientInterface { - return GeneralUtility::makeInstance(Client::class, $GLOBALS['TYPO3_CONF_VARS']['HTTP']); + $httpOptions = $GLOBALS['TYPO3_CONF_VARS']['HTTP']; + $httpOptions['verify'] = filter_var($httpOptions['verify'], FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) ?? $httpOptions['verify']; + + return GeneralUtility::makeInstance(Client::class, $httpOptions); } }