Open navigation

Set-TPHubSslConfig

Description

Syntax

Example 1

Example 2



Description

Applies one of three functions to certificates uploaded with Add-TPHubCertificate (see Certificates):

  • web server certificate
  • ThinPrint Client certificate
  • certificate of a root certification authority or of an intermediate certification authority


Syntax

Set-TPHubSslConfig -WebServerCertificateThumbprint <string> -ClientPrintCertificateThumbprint <string> -RootPrintCertificateThumbprint <string> -WebServerCertificateDescription <CertificateDescription> -ClientPrintCertificateDescription <CertificateDescription>
 -RootPrintCertificateDescription <CertificateDescription> -InputObject <variable>
 [-Proxy <string>]
ParameterDescription
UseWebServerCertificateTrue = web server certificate enabled
False = web server certificate disabled
UseRootPrintCertificateTrue = ThinPrint root certificate enabled
False = ThinPrint root certificate disabled
UseClientPrintCertificateTrue = ThinPrint Client certificate enabled
False = ThinPrint Client certificate disabled
-WebServerCertificateThumbprintthumbprint of the certificate to be assigned as web server certif­icate
-ClientPrintCertificateThumbprintthumbprint of the certificate to be assigned as ThinPrint Client certificate
-RootPrintCertificateThumbprintthumbprint of the certificate to be assigned as
-WebServerCertificateDescriptiondescription of the certificate to be assigned as web server certif­icate
-ClientPrintCertificateDescriptiondescription of the certificate to be assigned as ThinPrint Client certificate
-RootPrintCertificateDescriptiondescription of the certificate to be assigned as ThinPrint root cer­tificate
-InputObjectcertificate assignment defined by a variable
-Proxy• optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy


Example 1

$a = Get-TPHubSslConfig 
$a 
$b = $True 
$c = "62E014E898402A01340D52D4D530677AD47A1F80" 
$a.UseWebServerCertificate = $b 
$a.WebServerCertificate = $c
Set-TPHubSslConfig -InputObject $a or $a | Set-TPHubSslConfig
Get-TPHubSslConfig

ThinPrint Hub's PowerShell cmdlet Set-TPHubSslConfig: usage of variables


Example 2

Get-TPHubSslConfig
Set-TPHubSslConfig -WebServerCertificateThumbprint "62E014E898402A01340D52D4D530677AD47A1F80"
-RootPrintCertificateThumbprint "7CD07D49D253394F3EA6E953AA50BE9206F6F6E6"
Get-TPHubSslConfig

ThinPrint Hub's PowerShell cmdlet Set-TPHubSslConfig

The result in the web console is shown below.

ThinPrint Hub's PowerShell cmdlet Set-TPHubSslConfig: corresponding web console


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.