How do I make Hassio@Ubuntu read renewed SSL certificates?

I have installed Hassio on Ubuntu with https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install

Now I made a script to automatically check the SSL certificate if it’s time to renew it. Everything went well except it doesn’t show up in Chrome. When I click the green “Secure” left of address bar the dates it shows the old ones. Not from the new certificate. Dates don’t match up with openssl x509 -noout -dates -in /usr/share/hassio/ssl/cert.pem

So I thought maybe I restarted Hassio the wrong way through the script, but everything I try, no matter if I see the HA website reload or not, the certificate never gets the correct date. I’ve tried restarting with systemctl, stop/starting manually the commands within the service files, restarting each of the Docker containers. No luck so far. Not even clicking restart server within HA updates the certificates (although that wouldn’t work with my script).

What is the correct way to make Hassio read the new SSL certificates?

(Remember that I am using crontab to execute a script.)

1 Like

So I opened HA in other browsers and there the certificate shows the correct dates. Only Chrome shows the wrong dates. But why?