Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Set-WFCertificate

Updated: August 30, 2012

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Set-WFCertificate

You can use this cmdlet to set or change the SSL certificate or the EncryptionCertificate.

Syntax

Parameter Set: AutoCert
Set-WFCertificate [-WFFarmDBConnectionString <String> ] [ <CommonParameters>]

Parameter Set: BothSslAndEncryption
Set-WFCertificate -EncryptionCertificateThumbprint <String> -SslCertificateThumbprint <String> [-WFFarmDBConnectionString <String> ] [ <CommonParameters>]

Parameter Set: OnlyEncryption
Set-WFCertificate -EncryptionCertificateThumbprint <String> [-WFFarmDBConnectionString <String> ] [ <CommonParameters>]

Parameter Set: OnlySsl
Set-WFCertificate -SslCertificateThumbprint <String> [-WFFarmDBConnectionString <String> ] [ <CommonParameters>]




Detailed Description

Run Set-WFCertificate to change the SslCertificateThumbprint and the EncryptionCertificate. After running this cmdlet, run Update-WFHost on every host to bring the new certificate to the host.

Parameters

-EncryptionCertificateThumbprint<String>

This certificate is used for securing the SQL connection strings. If not provided, it will take the value of the SslCertificate. Represents the encryption certificate.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SslCertificateThumbprint<String>

Represents the certificate that is used for securing the service communication. Do not provide this if you are providing CertAutogenerationKey for auto-generation of certificates.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WFFarmDBConnectionString<String>

Represents a connection string of the configuration database.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example

Set the SSL and EncryptionCertificate certificates.


PS C:\> Set-WFCertificate –SslCertificateThumbprint  “wfsslcert.pfx”  –EncryptionCertificateThumbprint “encryptioncert.pfx”

Community Additions

ADD
Show:
© 2015 Microsoft