Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit a79e497

Browse files
authored
Merge pull request #33139 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents f6c4362 + 2c1b30e commit a79e497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/database-engine/configure-windows/configure-sql-server-encryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The following code snippet can be used to create a self-signed certificate on a
131131
$certificateParams = @{
132132
Type = "SSLServerAuthentication"
133133
Subject = "CN=$env:COMPUTERNAME"
134-
DnsName = @("{0}" -f [System.Net.Dns]::GetHostByName($env:computerName).HostName, 'localhost')
134+
DnsName = @("$($env:COMPUTERNAME)", $([System.Net.Dns]::GetHostEntry('').HostName), 'localhost')
135135
KeyAlgorithm = "RSA"
136136
KeyLength = 2048
137137
HashAlgorithm = "SHA256"

0 commit comments

Comments
 (0)