mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
Merge branch 'master' into version-4
This commit is contained in:
@@ -543,7 +543,7 @@ public function createCertificate(string $url, int $caExpireInDays): void
|
||||
));
|
||||
|
||||
// If cert could not be created using runAsUser(), use run().
|
||||
if (strpos($result, 'Permission denied')) {
|
||||
if (strpos($result, 'Permission denied') !== false) {
|
||||
$this->cli->run(sprintf(
|
||||
'openssl x509 -req -sha256 -days %s -CA "%s" -CAkey "%s" %s -in "%s" -out "%s" -extensions v3_req -extfile "%s"',
|
||||
$caExpireInDays, $caPemPath, $caKeyPath, $caSrlParam, $csrPath, $crtPath, $confPath
|
||||
|
||||
Reference in New Issue
Block a user