I have a lot of e-mail accounts. Some of them check with a different domain name than to which is registered with a security certificate for the same IP address. To check mail, you have to click OK before it times out. Every. Time.
There's a bug report that may never be resolved:
https://bugzilla.mozilla.org/show_bug.cgi?id=221552