Bug #73533
closedHTTP context variables from install tool not respected in GeneralUtility::getUrl()
0%
Description
Since the TER is HTTPS only, I had problems with updating the extensions and extension list. Today I had some time to check the problem:
The extension manager tries to load https://typo3.org/fileadmin/ter/extensions.md5 with GeneralUtility::getUrl()
but fails because of a problem with the certificate. I tested it with wget on the same machine an got the following message.
FEHLER: Dem Zertifikat von »typo3.org« wird nicht vertraut.
FEHLER: Das Zertifikat von »»typo3.org«« wurde von einem unbekannten Austeller herausgegeben.
Setting [HTTP][ssl_verify_peer] in install tool does not have any effect. But when I extend stream_context_create()
inside GeneralUtility::getUrl()
and extend 'ssl' => ['verify_peer' => FALSE]
, everything works fine again.