Skip to content

Commit c80e4cc

Browse files
authored
Merge pull request #420 from ikari7789/patch-1
Generate SHA-256 certificates
2 parents ca4f78d + 7b2deaf commit c80e4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/Valet/Site.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function createCertificate($url)
209209
$this->createSigningRequest($url, $keyPath, $csrPath, $confPath);
210210

211211
$this->cli->runAsUser(sprintf(
212-
'openssl x509 -req -days 365 -in %s -signkey %s -out %s -extensions v3_req -extfile %s',
212+
'openssl x509 -req -sha256 -days 365 -in %s -signkey %s -out %s -extensions v3_req -extfile %s',
213213
$csrPath, $keyPath, $crtPath, $confPath
214214
));
215215

0 commit comments

Comments
 (0)