Topic: iRedAdmin SSL (subdomain) cert issues
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04 (Server) 64bits
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: N/A
====
Hey guys, I have a few issues. First, my set up:
VPS by OVH running Ubuntu Server 14.04. I have successfully installed iRedMail. I have even sent test emails to gmail and I have received from gmail. As well, I have created a few test accounts and subdomains. I have installed an SSL certificate from LetsEncrypt using the automated Apache system. Worked like a charm. The only issue is it is setting up the SSL for the main domain. I want to host a website on that.
When I went through the iRedMail set up I used mifflin.mydomain.com. So all emails were created in the format user@mifflin.mydomain.com, which is what I want. Except, I want my users to be able to send email via the web address of mail.mydomain.com/mail/ with a valid SSL certificate installed.
I made a manual certificate from letsencrypt for mail.mydomain.com. Then I went to where Apache2 keeps this information (/etc/apache2/sites-available/default-ssl.comf) and replaced the old SSL paths with the new certificates paths.
Of course, this gives me an SSL name mismatched. Id assume because the SSL certificate and the domain all say mail.mydomain.com and the actual content from iRedMail is saying mifflin.mydomain.com or just mydomain.com.
Any advice would be greatly appreciated. If this is not clear, or you need more information let me know.
Also note: I have no problem reinstalling my VPS completely if I majorly screwed up. I have done it a few times already to learn this much lol.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.