From e56d4f04558a1293618ee8c0f9284f5859e876fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 11 Apr 2024 10:41:34 +0200 Subject: [PATCH] fix: disable ssl checks in api client to avoid problems with buspro --- src/BusProNet/ApiClient.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BusProNet/ApiClient.php b/src/BusProNet/ApiClient.php index 48ed38c..532a167 100644 --- a/src/BusProNet/ApiClient.php +++ b/src/BusProNet/ApiClient.php @@ -153,7 +153,9 @@ class ApiClient $response = $this->httpClient->request('GET', $this->config['bpn_url'], [ 'query' => [ 'operation' => $body, - ] + ], + 'verify_peer' => false, + 'verify_host' => false, ]); $xml = $response->getContent();