mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 00:40:06 +01:00
Keep random affix only for CN
This commit is contained in:
committed by
GitHub
parent
694bd5d571
commit
4500e6e0d2
@@ -211,8 +211,8 @@ function createCa()
|
||||
return;
|
||||
}
|
||||
|
||||
$oName = 'Laravel Valet CA Self Signed O';
|
||||
$cName = 'Laravel Valet CA Self Signed C';
|
||||
$oName = 'Laravel Valet CA Self Signed Organization';
|
||||
$cName = 'Laravel Valet CA Self Signed CN ';
|
||||
$affix = '';
|
||||
|
||||
if ($this->files->exists($caKeyPath)) {
|
||||
@@ -237,7 +237,6 @@ function createCa()
|
||||
$affix = bin2hex(openssl_random_pseudo_bytes(15));
|
||||
$this->files->putAsUser($caAffixPath, $affix);
|
||||
|
||||
$oName .= $affix;
|
||||
$cName .= $affix;
|
||||
|
||||
$this->cli->runAsUser(sprintf(
|
||||
|
||||
Reference in New Issue
Block a user