1
0
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:
Matt Stauffer
2023-01-19 13:19:18 -05:00
committed by GitHub
4 changed files with 16 additions and 3 deletions

View File

@@ -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