Jump to content

Error ERR_CERT_DATE_INVALID, client refuses to connect


Recommended Posts

Posted

I use Let's Encrypt to secure my Emby server for remote use and Windows ACME Simple (WACS) to set up the certificate.

I was seeing ERR_CERT_DATE_INVALID errors when visiting Emby in the browser and tried restarting IIS, early certificate renewal, killing my browser processes and restarting, clearing cache, and various other troubleshooting steps.

The solution for those with a similar issue is to restart the Emby server.

This may seem self-apparent. I knew at some level that Emby serves its own content but did not understand that it is entirely divorced from IIS and the automated process that updates IIS certificates.

Is there a way to have Emby restart itself when its certificate file updates?

 

image.png.4d9bc249f42db3286e726f44964bc1b9.png

Posted

For the purpose of web search, the Firefox error was different: SEC_ERROR_EXPIRED_CERTIFICATE

Quote

 

Warning: Potential Security Risk Ahead

Firefox detected an issue and did not continue to some.server.org. The website is either misconfigured or your computer clock is set to the wrong time.

 

 

Posted
Quote

Is there a way to have Emby restart itself when its certificate file updates?

Hi, no, not currently. But it is possible for the future. We'd have to start monitoring the file for changes.

rbjtech
Posted (edited)

You can run a post renewal script to restart emby - you'll probably need to link it into the scheduler so it happens out of hours.    If you use emby as a service, then you should be able to just restart it if Direct Playing.

https://www.win-acme.com/reference/plugins/installation/script

Edited by rbjtech

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...