< Back

Set-ISHAPIWCFServiceCertificate

Wed Jan 15, 2020 8:36 am

NAME Set-ISHAPIWCFServiceCertificate



SYNOPSIS

Sets WCF service certificate.





SYNTAX

Set-ISHAPIWCFServiceCertificate -Thumbprint <string> [-ValidationMode {None | PeerTrust | ChainTrust |

PeerOrChainTrust | Custom}] [-ISHDeployment <ISHDeployment>] [<CommonParameters>]





DESCRIPTION

The Set-ISHAPIWCFServiceCertificate cmdlet sets WCF service certificate to Content Manager deployment.





PARAMETERS

-Thumbprint <string>

Certificate Thumbprint.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ValidationMode <X509CertificateValidationMode>

Selected validation mode.



Possible values: None, PeerTrust, ChainTrust, PeerOrChainTrust, Custom



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ISHDeployment <ISHDeployment>

Specifies the name or instance of the Content Manager deployment.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



---------- EXAMPLE 1 ----------



PS C:\\>Set-ISHAPIWCFServiceCertificate -ISHDeployment $deployment -Thumbprint "t1"



This command configure WCF service to use specified certificate. Parameter $deployment is a deployment name or an

instance of the Content Manager deployment retrieved from Get-ISHDeployment cmdlet.

---------- EXAMPLE 2 ----------



PS C:\\>Set-ISHAPIWCFServiceCertificate -ISHDeployment $deployment -Thumbprint "t1" -ValidationMode "None"



This command configure WCF service to use specified certificate and sets credentials with no Validation Mode.

Parameter $deployment is a deployment name or an instance of the Content Manager deployment retrieved from

Get-ISHDeployment cmdlet.



RELATED LINKS