Handling CertificateAutogeneration Key Changes Using Cmdlets

 

Updated: October 24, 2012

To change the CertificateAutogenerationKey:

  1. Run the following cmdlets from the PowerShell prompt of any machine.

    $FarmPassword = ConvertTo-SecureString -String MyFarmsPassword -AsPlainText –Force  
    Set-WFCertificateAutogenerationKey –Key $FarmPassword  
    
  2. On every machine in the farm, run the following cmdlets.

    Stop-WFHost -Verbose  
    $FarmPassword = ConvertTo-SecureString -String MyFarmsPassword -AsPlainText –Force  
    Update-WFHost -Key $FarmPassword –Verbose  
    Start-WFHost -Verbose