From 96699b192e4d97411417aae947a011059db8092a Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 30 Jun 2018 18:24:35 -0700 Subject: [PATCH] Don't verify SSL signatures in dev [skip ci] --- app/Repositories/Daemon/BaseRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Repositories/Daemon/BaseRepository.php b/app/Repositories/Daemon/BaseRepository.php index e15b17ce1..186b5917d 100644 --- a/app/Repositories/Daemon/BaseRepository.php +++ b/app/Repositories/Daemon/BaseRepository.php @@ -144,6 +144,7 @@ abstract class BaseRepository implements BaseRepositoryInterface $headers['X-Access-Token'] = $this->getToken() ?? $this->getNode()->daemonSecret; return new Client([ + 'verify' => config('app.env') === 'production', 'base_uri' => sprintf('%s://%s:%s/v1/', $this->getNode()->scheme, $this->getNode()->fqdn, $this->getNode()->daemonListen), 'timeout' => config('pterodactyl.guzzle.timeout'), 'connect_timeout' => config('pterodactyl.guzzle.connect_timeout'),