Skip to content

Commit

Permalink
[1.x] Fixes SSL connection issues in Chrome / Arc (#159)
Browse files Browse the repository at this point in the history
* disable peer verification

* set peer verification
  • Loading branch information
joedixon authored Apr 18, 2024
1 parent bf6b6f8 commit 77fb819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Servers/Reverb/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 77fb819

Please sign in to comment.