We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e00053 + e0e6634 commit f583247Copy full SHA for f583247
includes/data-box-gateway-upload-certificate.md
@@ -18,5 +18,9 @@ A proper SSL certificate ensures that you're sending encrypted information to th
18
The following example shows the usage of this cmdlet:
19
20
```
21
- Set-HcsCertificate -Scope LocalWebUI -CertificateFilePath "\\myfileshare\certificates\mycert.pfx" -CertificatePassword "mypassword" -Credential "Username"
+ $pwd="<CertificatePassword>"
22
+ $password=ConvertTo-SecureString -String $pwd -AsPlainText -Force
23
+ $cred=New-Object System.Management.Automation.PSCredential('Administrator',$password)
24
+
25
+ Set-HcsCertificate -Scope LocalWebUI -CertificateFilePath \\myfileshare\certificates\mycert.pfx -CertificatePassword $cred -Credential "Username"
26
0 commit comments