mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
empty C, ST, L fields in root certificate
This commit is contained in:
committed by
GitHub
parent
91b0b69dd7
commit
694bd5d571
@@ -241,7 +241,7 @@ function createCa()
|
|||||||
$cName .= $affix;
|
$cName .= $affix;
|
||||||
|
|
||||||
$this->cli->runAsUser(sprintf(
|
$this->cli->runAsUser(sprintf(
|
||||||
'openssl req -new -newkey rsa:2048 -days 730 -nodes -x509 -subj "/C=LV/ST=Latvia/O=%s/localityName=Riga/commonName=%s/organizationalUnitName=Developers/emailAddress=noreply@valet.test/" -keyout %s -out %s',
|
'openssl req -new -newkey rsa:2048 -days 730 -nodes -x509 -subj "/C=/ST=/O=%s/localityName=/commonName=%s/organizationalUnitName=Developers/emailAddress=noreply@valet.test/" -keyout %s -out %s',
|
||||||
$oName, $cName, $caKeyPath, $caPemPath
|
$oName, $cName, $caKeyPath, $caPemPath
|
||||||
));
|
));
|
||||||
$this->trustCa($caPemPath);
|
$this->trustCa($caPemPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user