Issue Bug Closed

#73533HTTP context variables from install tool not respected in GeneralUtility::getUrl()

Albrecht Köhnlein 02/18/16, 09:16 updated 03/31/17, 12:38

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 [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.

Reviews 1