Errors after Server Essentials Local Certificate Renewal

Last week, I got an email from my monitoring system that a certificate on a Server 2012 R2 Essentials machine was about to expire. I tracked it down to the computer’s local certificate, issued by the local Certification Authority (CA) almost 5 years ago. Since it hadn’t expired yet, it was a fairly simple matter to go into IIS, open Server Certificates, choose the expiring certificate, and click Renew.

Essentials Services Not Running

This week, I noticed that none of the Windows Server Essentials services were running. I didn’t even try to open the dashboard; I knew that wouldn’t work. Most of the services depend on the Windows Server Essentials Provider Registry Service. This article pointed me to the log patch, where I examined

C:\ProgramData\Microsoft\Windows Server\Logs\ProviderRegistryService.log

From the most recent error, the key lines are:

[1688] 201124.103151.9343: WssgCertMgmt: Found 0 matching certs without verification:
[1688] 201124.103151.9499: WssgCertMgmt: Collection Empty
[1688] 201124.103151.9499: IDENTITY: Local machine cert not found, trying to import the root cert backup to fix

I eventually found this 2012 thread, where Robert Pearman mentioned the registry key HKLM>SOFTWARE>Microsoft>Wwindows Server>IDENTITY. Sure enough, the LocalMachineCert value contained the thumbnail of the old certificate:

Essentials Cert 1

After manually replacing the LocalMachineCert value with the thumbprint of the new certificate (copied from the Personal store of Local Computer Certificates), I was once again able to start the Windows Server Essentials services and open the dashboard.

Remote Site Reporting .NET Warnings

While investigating the above issue, I also noticed multiple .NET warnings in the Application event log that started after the certificate renewal:

In the middle of that huge event is this telling line:  “Machine certificate is not found.”

Hmm. The Remote Web Access site is working fine at the moment, and that error hasn’t recurred since I updated the registry key (first part of this article). Maybe this was a symptom of the same issue. Will have to wait to see if it continues.

This all does leave me wondering what the “right” way is to renew an expiring certificate on Essentials. Maybe using the Anywhere Access wizard, even though we’re talking about the certificate issued by the local CA and not the Remote Web Access public certificate?

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.