From 77fb819eeecdbf82fab033694ccb19ce03bb4ff6 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Thu, 18 Apr 2024 15:04:16 +0100 Subject: [PATCH] [1.x] Fixes SSL connection issues in Chrome / Arc (#159) * disable peer verification * set peer verification --- src/Servers/Reverb/Factory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Servers/Reverb/Factory.php b/src/Servers/Reverb/Factory.php index deb91846..0648c2f1 100644 --- a/src/Servers/Reverb/Factory.php +++ b/src/Servers/Reverb/Factory.php @@ -122,6 +122,7 @@ protected static function configureTls(array $context, ?string $hostname): array $context['local_cert'] = $certificate; $context['local_pk'] = $key; + $context['verify_peer'] = app()->environment() === 'production'; } return $context;