author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
alkohli |
databox |
include |
06/26/2019 |
alkohli |
A proper SSL certificate ensures that you're sending encrypted information to the right server. Besides encryption, the certificate also allows for authentication. You can upload your own trusted SSL certificate via the PowerShell interface of the device.
-
Use the
Set-HcsCertificate
cmdlet to upload the certificate. When prompted, provide the following parameters:-
CertificateFilePath
- Path to the share that contains the certificate file in .pfx format. -
CertificatePassword
- A password used to protect the certificate. -
Credentials
- Username to access the share that contains the certificate. Provide the password to the network share when prompted.The following example shows the usage of this cmdlet:
Set-HcsCertificate -Scope LocalWebUI -CertificateFilePath "\\myfileshare\certificates\mycert.pfx" -CertificatePassword "mypassword" -Credential "Username"
-