We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb70ec commit b3edadcCopy full SHA for b3edadc
src/JsonSchema/Uri/Retrievers/FileGetContents.php
@@ -31,8 +31,13 @@ public function retrieve($uri)
31
'http' => array(
32
'method' => 'GET',
33
'header' => "Accept: " . Validator::SCHEMA_MEDIA_TYPE
34
- )));
35
-
+ ),
+ 'ssl' => array(
36
+ 'verify_peer' => false,
37
+ 'verify_peer_name' => false,
38
39
+ ));
40
+
41
$response = file_get_contents($uri, null, $context);
42
if (false === $response) {
43
throw new ResourceNotFoundException('JSON schema not found at ' . $uri);
0 commit comments