question

adilahmed avatar image
0 Votes"
adilahmed asked AllenXu-MSFT commented

The certificate generation key does not meet the password policy when rejoin Workflow Manger Farm

HI, I Installed and configured Workflow manager Farm in one of SharePoint 2016 Application Server
after i installed new SharePoint updates Service Message Broker service stuck on starting after hat i leave the existing farm and trying rejoin the WF farm when i rejoin i faced below issue.
before i give Certificate Auto Generation Key 'p@ssw0rd1'
Here how i fix this issue and assign new key , when i give new key its not accepting.


Cannot validate argument on parameter 'CertificateAutoGenerationKey'. The certificate generation key does not meet the password policy requirements. Check the minimum password length and password complexity requirements.

office-sharepoint-server-administrationoffice-sharepoint-server-itprosharepoint-workflow
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AllenXu-MSFT avatar image
0 Votes"
AllenXu-MSFT answered AllenXu-MSFT commented

Hi @adilahmed ,

As per my knowledege, you need to reinstall Workflow Manager on your server to solve this issue.

Uninstall Workflow Manager:

  • Step1 : Leave the Farm

    Log on to the server on which you have installed and configured workflow Manager;
    Launch Workflow Manager Configuration Wizard;
    When the Workflow Manager Configuration Wizard page appears, click Leave Farm. The Leave Farm page appears;
    Click on Apply.

  • Step2: Uninstall Workflow Manger and other Application

    In the Control Panel window, under Programs select Uninstall a Program;
    Find the following items in the program list and, for each item, click Uninstall on the menu bar above the program list.

    Workflow Manager 1.0
    Workflow Manager 1.0 Client
    Service Bus 1.0
    Windows Fabric

  • Step3: Delete Workflow related Databases.

    Take Backup of any workflow related databases;
    Use SQL Management Studio to remove the databases that were associated with Workflow Manager. These databases are:

    WfManagementDB
    SbGatewayDatabase
    SBContainer01
    WFInstanceManagementDB
    WFResourceManagementDB
    SBManagementDB

Reinstall and Configure Workflow Manager after uninstalling the Workflow Manager.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi thanks instead of leave the farm is any chance to update 'CertificateAutoGenerationKey' ? and join the existing farm

0 Votes 0 ·

@adilahmed

Try the following Power Commands on your workflow manager server.

 $CertKey=convertto-securestring ‘PASSPHRASE’ -asplaintext -force;
 Set-WFCertificateAutoGenerationKey –Key $CertKey

Could you update CertificateAutoGenerationKey via it?

0 Votes 0 ·

@adilahmed,

Is there any progress on this thread?

0 Votes 0 ·

@adilahmed,

If there is any update on this thread, kindly share here. I'm looking forward to your reply :-)


If an Answer is helpful, please click "Accept Answer" and upvote it.

0 Votes 0 ·