Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save henriqueramos/4f9258287d570fadab717fbbd3f32a4c to your computer and use it in GitHub Desktop.
Save henriqueramos/4f9258287d570fadab717fbbd3f32a4c to your computer and use it in GitHub Desktop.
PKP OJS - Disabling SSL certificate verification at Guzzle
From ed0e858edf5aee055a0611da5ba1205b47e627c6 Mon Sep 17 00:00:00 2001
From: Henrique Ramos <[email protected]>
Date: Fri, 1 Oct 2021 15:11:59 -0300
Subject: [PATCH] pkp/pkp-lib#7125 Setting Guzzle to avoid SSL certificate
verification
---
classes/core/PKPApplication.inc.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/classes/core/PKPApplication.inc.php b/classes/core/PKPApplication.inc.php
index 007f51952..aebce970a 100644
--- a/classes/core/PKPApplication.inc.php
+++ b/classes/core/PKPApplication.inc.php
@@ -284,6 +284,7 @@ abstract class PKPApplication implements iPKPApplicationInfoProvider
'headers' => [
'User-Agent' => $userAgent,
],
+ 'verify' => false,
]);
}
--
2.25.1
@henriqueramos
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment