Topic: NET::ERR_CERT_COMMON_NAME_INVALID error when opening domain.com
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.3 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 22.04.2 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I was setting up SSL certificates using the tutorial here: "Request a free cert from Let's Encrypt"
I've done all the steps. And if I open up mail.domain.com, everything works fine.
But if I go to open domain.com in my browser, I get this error: NET::ERR_CERT_COMMON_NAME_INVALID
I know that I've created an SSL certificated for mail.domain.com which is why there's a mismatch, since the certificate isn't for domain.com
But I want domain.com to not show an SSL error too in the browser. How would I go about doing this on iRedMail?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.