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

remove unused $confPath

This commit is contained in:
Cameron Steel
2025-09-18 12:33:34 +10:00
committed by GitHub
parent 45e4ce17db
commit 631fb7a1ca

View File

@@ -614,7 +614,7 @@ public function createCertificate(string $url, int $caExpireInDays): void
$this->buildCertificateConf($confPath, $url);
$this->createPrivateKey($keyPath);
$this->createSigningRequest($url, $keyPath, $csrPath, $confPath);
$this->createSigningRequest($url, $keyPath, $csrPath);
$caSrlParam = '-CAserial "'.$caSrlPath.'"';
if (! $this->files->exists($caSrlPath)) {
@@ -646,11 +646,11 @@ public function createPrivateKey(string $keyPath): void
/**
* Create the signing request for the TLS certificate.
*/
public function createSigningRequest(string $url, string $keyPath, string $csrPath, string $confPath): void
public function createSigningRequest(string $url, string $keyPath, string $csrPath): void
{
$this->cli->runAsUser(sprintf(
'openssl req -new -key "%s" -out "%s" -subj "/C=/ST=/O=/localityName=/commonName=%s/organizationalUnitName=/emailAddress=%s%s/"',
$keyPath, $csrPath, $url, $url, '@laravel.valet', $confPath
$keyPath, $csrPath, $url, $url, '@laravel.valet'
));
}