Created
April 24, 2015 11:44
-
-
Save dmitryd/7907bd6e084ccce1bac9 to your computer and use it in GitHub Desktop.
TYPO3 Solr: index sites with a self-signed certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/www/typo3conf/ext/solr/Classes/IndexQueue/PageIndexerRequest.php b/www/typo3conf/ext/solr/Classes/IndexQueue/PageIndexerRequest.php | |
index b34aee4..ca3247f 100644 | |
--- a/www/typo3conf/ext/solr/Classes/IndexQueue/PageIndexerRequest.php | |
+++ b/www/typo3conf/ext/solr/Classes/IndexQueue/PageIndexerRequest.php | |
@@ -138,7 +138,11 @@ class Tx_Solr_IndexQueue_PageIndexerRequest { | |
'http' => array( | |
'header' => implode(CRLF, $headers), | |
'timeout' => $this->timeout | |
- ) | |
+ ), | |
+ 'ssl' =>array( | |
+ 'verify_peer' => FALSE, | |
+ 'verify_peer_name' => FALSE, | |
+ ), | |
)); | |
$rawResponse = file_get_contents($url, FALSE, $context); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment