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:
@@ -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'
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user