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

Commit 6886932

Browse files
Update split merge cert name
1 parent 97cfd87 commit 6886932

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

azure-sql/database/elastic-scale-configure-deploy-split-and-merge.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ Use PowerShell to create a self-signed certificate and PFX file.
7171
First, create a new directory. Then replace the inline values accordingly and run the following PowerShell commands from the new directory:
7272

7373
```powershell
74-
$certname = "{certificateName}" ## Replace {certificateName}
75-
$cert = New-SelfSignedCertificate -Subject "CN=$certname" -CertStoreLocation "Cert:\CurrentUser\My" -KeyExportPolicy Exportable -KeySpec Signature -KeyLength 2048 -KeyAlgorithm RSA -HashAlgorithm SHA256
74+
$cert = New-SelfSignedCertificate -Subject "CN=*.cloudapp.net" -CertStoreLocation "Cert:\CurrentUser\My" -KeyExportPolicy Exportable -KeySpec Signature -KeyLength 2048 -KeyAlgorithm RSA -HashAlgorithm SHA256
7675
$mypwd = ConvertTo-SecureString -String "{myPassword}" -Force -AsPlainText ## Replace {myPassword}
7776
Export-PfxCertificate -Cert $cert -FilePath "C:\Users\admin\Desktop\$certname.pfx" -Password $mypwd ## Specify your preferred location
7877
```

0 commit comments

Comments
 (0)