Skip to content
Snippets Groups Projects
Commit 1abba612 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix webserver detection when using self signed certificates

parent 79a867af
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ WantedBy = multi-user.target
public function guessProxy() {
$base = $this->config->getSystemValueString('overwrite.cli.url', '');
try {
$result = $this->client->get($base, ['nextcloud' => ['allow_local_address' => true]]);
$result = $this->client->get($base, ['nextcloud' => ['allow_local_address' => true], 'verify' => false]);
$server = strtolower($result->getHeader('server'));
if (strpos($server, 'apache') !== false) {
return 'apache';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment