I've got a few domains setup on an Ubuntu server (14.04); they each are encrypted with LetsEncrypt (cron jobs setup to auto-renew them as well).
Every once in a while, I will go to https://domainA.com
and see the the message:
ssl_error_bad_cert_domain
When I click to view advanced details... it says that the certificate is only valid for https://domainB.com
which exists on my server also. If I wait about 20 seconds or so and do a hard refresh (ctrl+shift+r in firefox), domainA
works as normal and the cert error is gone.
Any idea why this occurs from time to time?