1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00

when unsecuring try deleting also old wildcard

This commit is contained in:
kroko / Reinis Adovičs
2018-01-31 04:45:06 +02:00
committed by GitHub
parent 312d9e33cb
commit 91b0b69dd7

View File

@@ -371,6 +371,7 @@ function unsecure($url)
$this->files->unlink($this->certificatesPath().'/'.$url.'.crt');
$this->cli->run(sprintf('sudo security delete-certificate -c "%s" /Library/Keychains/System.keychain -t', $url));
$this->cli->run(sprintf('sudo security delete-certificate -c "*.%s" /Library/Keychains/System.keychain -t', $url));
}
}