mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40: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;
|
||||
|
||||
$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
|
||||
));
|
||||
$this->trustCa($caPemPath);
|
||||
|
||||
Reference in New Issue
Block a user