[BUGFIX] Fix HTTP Request Exceptions with SSL certificates
authorPhilipp Gampe <forge.typo3.org@philippgampe.info>
Sun, 31 Jul 2011 18:46:15 +0000 (20:46 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 30 Aug 2011 07:28:27 +0000 (09:28 +0200)
commit3d2b10f4dcf64d199f18fc050571caed70df3adb
treeaa423ee92a7faac68bd559882763193a838c13f1
parentca75753d047ffa8a8ba69bbd288aa54d136765f9
[BUGFIX] Fix HTTP Request Exceptions with SSL certificates

HTTP_Request2 expects the default value for ssl_cafile, ssl_capath,
ssl_local_cert and ssl_passphrase to be NULL, and not ''.

As the Install Tool is not able to handle this, we need to check if
those values are empty and set them NULL accordingly.

Additionally the socket adapter has trouble with ssl_verify_peer.
Therefore change ssl_verify_peer to FALSE by default

Change-Id: I065c649a671d4360c9a51ab4be40fb0eb58d6ec6
Resolves: #28619
Reviewed-on: http://review.typo3.org/3949
Reviewed-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/config_default.php
t3lib/http/class.t3lib_http_request.php