Project

General

Profile

Actions

Bug #73533

closed

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

Added by Albrecht Köhnlein about 8 years ago. Updated about 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 #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46758

Actions #2

Updated by Wouter Wolters over 7 years ago

  • Status changed from Under Review to Needs Feedback

Still an issue on 7.6?

Actions #3

Updated by Benni Mack about 7 years ago

  • Status changed from Needs Feedback to Closed

No feedback for some months, and the functionality has been changed with v7 and v8 to make that possible.

Actions

Also available in: Atom PDF