r/sharepoint•
Pr1m-e

Help - Servicebus and Workflow certificates expired

Hello together,

yesterday our certificates (5 years, selfsigned, on workflow-manager installation) expired - now we can not run any workflows anymore.

I tried several methods to fix this but all has failed - like:

https://medium.com/arfitect/workflow-manager-certificate-expiration-924f6f3a69ad

I managed to replace the certificates but the workflows do not work.

One of the following problems will occur

- No workflow can be selected because ist says "workflow service was/is not start"

- Sometimes the following event apperas on the frontend server:

SSL policy errors have been encountered. Error code '0x6'.. This could be "fixed" by https://sharepoint.stackexchange.com/questions/111163/an-operation-failed-because-the-following-certificate-has-validation-errors but then the workflows are paused with an error like "Token contains invalid signature"

​

For worse: It seems like that we do not have the credentials for the workflow-user account nor the code generate key of the workflow farm...

I am grateful for any help - thanks!

Posted Mar 27, 2021, 1:04 PM UTC · edited

36
Megatwan•

http://www.harbar.net/category/25.aspx

Read all 4 parts. GL

I can't remember if you need the wfm install code to DR but should be an option (just keep the dbs that matter and let it rebuild the wfm farm ones)

2
MatrixTek•

roll the clock back on the system, then reissue the certs. It's pain, but works. Command likely aren't well documented. Need to update both services.

2
Pr1m-eOP•

I did - multiple times with different steps.... Even if all certs had been replaced for sbfarm and wffarm it failed on different steps later on (when actually running a workflow)

1
intjIris•

Hi, after doing this a few times I finally remembered to make a step-by-step file of the process. I can send you the file if you want.

EDIT: My method does not require the original credentials and keys but you do need a username/password for a wf admin

1
Pr1m-eOP•

This would be great :)

1
Pr1m-eOP•

We fixed our problem by following this article and a reset of the wfm passphrase and service-account :)

https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/sharepoint-2013-2016-2019-how-to-replace-expired-workflow/ba-p/1148650

Thanks everyone

1