• Wednesday, February 25, 2026

Knowledge Base

How to Fix Certificate Errors When Setting Up Email

Resolving SSL Certificate Warnings

If you see certificate errors when configuring email, here's what to do.

Why Certificate Warnings Happen

  • Server certificate is for the server hostname, not your domain
  • Self-signed certificates on some servers
  • Certificate name mismatch

Solution 1: Use Server Hostname

Instead of mail.yourdomain.com, use the server's actual hostname:

  • Check your welcome email for the exact server name
  • Example: server.hostdeal.com instead of mail.yourdomain.com

Solution 2: Accept the Certificate

If you trust the connection:

  • Click "Continue" or "Accept"
  • Add exception for the certificate
  • This is safe for known hosting providers

Solution 3: Verify SSL is Configured

  1. Log into DirectAdmin
  2. Go to SSL Certificates
  3. Ensure your domain has a valid certificate
  4. Enable "Force SSL" for the mail subdomain

Common Error Messages

  • "Certificate not trusted" - Accept or use server hostname
  • "Name mismatch" - Use server hostname
  • "Expired certificate" - Contact support

When to Contact Support

If you continue having issues after trying these solutions, contact Hostdeal support.