sharepointservicebussharepoint-workflowsharepoint-2019workflow-manager-1.x

Reconfiguring Service Bus and Workflow Manager to use the new certificate


I'm following this article to use a new certificate for service bus and WFM, the problem is when I run any command (like Get-SBFarm) I get the following error:

Certificate requested with thumbprint <thumbprint> not found in the certificate store LocalMachine\My

So I have checked the store and the certificate is there in Personal & Trusted Root Certification Authorities and the certificate was there. I also did

Get-ChildItem -Path Cert:\LocalMachine\My

and I also found the thumbprint mentioned in the error listed in the command results

SB configuration & WF configuration Manager are not opening. so I'm just stuck at this point. any thoughts?


Solution

  • The key part of the solution was to adjust the date to a point prior to the expiration date of the certificate.

    In my case the machine was managed by the organization. so I did it by using the following powershell command:

    Set-Date -Date (Get-Date).AddDays(-12)
    

    change the (12) with the correct number of days.

    also keep in mind that you have to be quick since the date will be updated again after synchronization with the Active Directory.

    References: Workflow Manager Certificate Expiration