modoboa-installer icon indicating copy to clipboard operation
modoboa-installer copied to clipboard

Installer don't generate letsencrypt alternate name for autodiscover

Open stefaweb opened this issue 6 years ago • 3 comments

Impacted versions

Last git version from May 22, 2018

  • Distribution: Debian
  • Codename: Stretch
  • Arch: 64 Bits
  • Database: MariaDB 10.1 (engine = mysql in installer.cfg)

Steps to reproduce

Select type = letsencrypt in installer.cfg. Select automx in installer.cfg. Run run.py with domain.tld.

The generated SSL certificate will contains mail.domain.tld but not autodiscover.domain.tld used in /etc/nginx/sites-available/mail.domain.tld.conf for automx.

https://autodiscover.domain.tld.conf/autodiscover/autodiscover.xml will not work (and we got a blank page).

EDIT: It will be nice to have autoconfig.domain.tld in the certificate too if we add https in autoconfig.domain.tld.conf vhost.

stefaweb avatar Jun 25 '18 11:06 stefaweb

@tonioo

Is this included in the installer now?

I plan to install from stratch a new modoboa server to test remote database install.

stefaweb avatar Nov 28 '18 10:11 stefaweb

@stefaweb No it is not. You can access the autodiscover endpoint using this url: https://mail.domain.tld/autodiscover/autodiscover.xml and it is already SSL enabled.

tonioo avatar Nov 28 '18 12:11 tonioo

I'll to check because, it was not working during my installation in June.

stefaweb avatar Nov 28 '18 12:11 stefaweb