ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1056)

hi,

my certificate has expired and I my firefox could not connect to HA anymore.
in the HA log I had the following:

ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1056)

Indeed my cert self signed cert was expired the day before.
I generated new cert with openssl, put in the config folder, but the issue has not disappeared. I only got the HA logo and a retry button. every time I tried to access the site I always had the BAD_CERT error in HA logs.

I was trying different tricks with the cert but nothing.

Solution: somehow the firefox cashes something, and that generates the error on the server side. clearing the site related cashed objects solves the problem.

I hope I can save some struggle for you :slight_smile:

1 Like

Yep, was going to say a cache problem. Ctrl+f5 will reload and clear the cache.