Skip to content

Commit 6003a0f

Browse files
committed
Remove blank
1 parent dcc7fdd commit 6003a0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dockertls/generate-certs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function createCerts($serverCertsPath, $serverName, $ipAddresses, $clientCertsPa
4242
& openssl req -subj "/CN=$serverName/" -sha256 -new -key server-key.pem -out server.csr
4343

4444
Write-Host "`n=== Signing Server request"
45-
"subjectAltName = " + (($ipAddresses.Split(',') | ForEach-Object { "IP:$_" }) -join ',') + ",DNS.1: $serverName" | Out-File extfile.cnf -Encoding Ascii
45+
"subjectAltName = " + (($ipAddresses.Split(',') | ForEach-Object { "IP:$_" }) -join ',') + ",DNS.1:$serverName" | Out-File extfile.cnf -Encoding Ascii
4646
cat extfile.cnf
4747
& openssl x509 -req -days 365 -sha256 -in server.csr -CA $Global:caPublicKeyFile -passin $Global:caPrivateKeyPass -CAkey $Global:caPrivateKeyFile `
4848
-CAcreateserial -out server-cert.pem -extfile extfile.cnf

0 commit comments

Comments
 (0)