ADFS 3.0 Service won't start because certificate has expired

Ukkaapie 31 Reputation points
2020-05-22T09:23:53.263+00:00

Hi,

I have a fairly urgent issue with ADFS service not starting.

The infrastructure is all Server 2019 and the service account password had expired so the ADFS could not auto renew the token signing and decrypting certificate. I know, I should have set the service account password to never expire. My fault.

Right now the service will not start (because the certificate has expired) and powershell commands come up with a communication error:

get-adfsproperties : The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

I have tried the command "Update-AdfsCertificate -CertificateType Token-Decrypting -Urgent" but that comes up with the same error. As the service will not start I cannot get into the console.

Please help.

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,284 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Nick 11 Reputation points
    2022-07-28T23:52:29.43+00:00

    I just encountered this issue in Server 2019. The easiest solution was to just set the clock back to a day when the certificates weren't expired and start the service. Then you can generate the new certificates. I found that the computer clock could only be adjusted via Control Panel "Date and Time" app. This issue is very likely the result of setting the Automatic Renew option to disabled and never manually generating certificates before they expire.

    2 people found this answer helpful.

  2. Arjan Mensch 11 Reputation points
    2020-05-22T12:57:02.277+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.