Sets the SSL certificate binding.
Set-SystoLockCertificateBinding [[-Port] <UInt16>] [<CommonParameters>]
Set-SystoLockCertificateBinding [-Certificate] <X509Certificate2> [-DontCheckName] [-Force] [[-Port] <UInt16>] [<CommonParameters>]
Set-SystoLockCertificateBinding [-DontCheckName] [-Force] [[-Port] <UInt16>] [-Thumbprint] <String> [<CommonParameters>]
The Set-SystoLockCertificateBinding
cmdlet assigns SSL certificate to the SystoLOCK service port.
You can bind SSL certificate suitable for SystoLOCK server either by using Certificate or Thumbprint parameters.
PS C:\> Set-SystoLockCertificateBinding
Creates certificate binding using a first SSL certificate that satisfies requirements.
PS C:\> Set-SystoLockCertificateBinding -Port 21574
Creates certificate binding using a first SSL certificate that satisfies requirements and custom application port.
PS C:\> Set-SystoLockCertificateBinding -Certificate $certificate
Creates certificate binding using supplied SSL certificate object.
PS C:\> Set-SystoLockCertificateBinding -Thumbprint B1157B9D07A7253E9655AFD99CB2762D533C27C0
Creates certificate binding using specified SSL certificate thumbprint.
PS C:\> Set-SystoLockCertificateBinding -Certificate $certificate -DontCheckName -Force
Creates certificate binding without performing validation checks.
Specifies the certificate object.
Type: X509Certificate2
Parameter Sets: Certificate
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Forces FQDN check to be off during SSL certificate matching.
Type: SwitchParameter
Parameter Sets: Certificate, Thumbprint
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Suppresses SSL certificate validation checks.
Type: SwitchParameter
Parameter Sets: Certificate, Thumbprint
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the port to assign SSL certificate binding to.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
.
Specifies SSL certificate thumbprint.
Type: String
Parameter Sets: Thumbprint
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Certificate object.
Thumbprint string.
Contains information about the SSL certificate binding.
Certificate: an SSL certificate object.
Port: the port the SSL certificate is bound to.
Store: the store where the SSL certificate resides.
Thumbprint: the thumbprint of the SSL certificate.
Get-SystoLockCertificateBinding
Remove-SystoLockCertificateBinding
Test-SystoLockCertificateBinding