Project

General

Profile

Actions

Bug #73533

closed

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

Added by Albrecht Köhnlein almost 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-02-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF