Reconfiguring Service Bus and Workflow Manager to use the new certificate

319 views Asked by At

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?

2

There are 2 answers

0
Mahmood Alzwiri On BEST ANSWER

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

1
Amy Jiang_MSFT On

The error message indicates that the certificate needs to be in the LocalMachine\My store. You can try moving the certificate to the LocalMachine\My store and then running the commands again.