Does this help:
https://support.avast.com/en-eu/article/Troubleshoot-invalid-email-certificate