Gets a certificate that can be used by SystoLOCK server.
Get-SystoLockCertificate [[-Thumbprint] <String>] [-AllowSubjectMismatch] [<CommonParameters>]
The Get-SystoLockCertificate
cmdlet gets a certificate that can be used by the SystoLOCK server's HTTPS endpoint from the computer's certificate store.
PS C:\> Get-SystoLockCertificate
Returns the first certificate suitable for server authentication.
PS C:\> Get-SystoLockCertificate -Thumbprint B1157B9D07A7253E9655AFD99CB2762D533C27C0
Returns the specified certificate if it is suitable for server authentication.
PS C:\> Get-SystoLockCertificate -Thumbprint B1157B9D07A7253E9655AFD99CB273C27C062D53 -AllowSubjectMismatch
Returns the specified certificate if it does not match the subject.
Allows the certificate to be considered even if it does not match the subject.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies certificate thumbprint.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
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.
Thumbprint.
Represents X509Certificate2 information.
Thumbprint: the unique certificate identifier.
SubjectName: the subject distinguished name from the certificate.