Mozilla Thunderbird/directory certificate not trusted

If you get an error message while typing an email address that reads directory.education.ucsb.edu:636 uses an invalid security certificate and reports Error code: sec_error_expired_issuer_certificate, these instructions should help you fix it.