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:
committed by
GitHub
parent
312d9e33cb
commit
91b0b69dd7
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user