Certbot missing 1 domain

Please fill out the fields below so we can help you better.

My domain is: mediamax.im

I ran this command: sudo certbot --apache

It produced this output: The UI provides me with a list of domains I want to sign that it gathers from my various .conf files. For some reason the domain (or config file) “mediamax.im” is skipped, Strange enough, a subdomain called shop.mediamax.im is not skipped.

My operating system is (include version): Debian 8

My web server is (include version): Apache 2.4.10

I can login to a root shell on my machine (yes or no, or I don’t know): yes

cat mediamax.im.conf
< Virtualhost *:80>
ServerAdmin no@spam.com
ServerName mediamax.im
ServerAlias www.mediamax.im
DocumentRoot /path/to/files
< Directory /path/to/files>
Options FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
< /Directory>
< /VirtualHost>


cat shop.mediamax.im.conf
< VirtualHost *:80>
ServerName shop.mediamax.im
DocumentRoot /path/to/other/files
< /VirtualHost>

hi fraeco

I am not aware of how certbot is parsing the conf files but I suspect that its looking at the serverName attributes.

attached is the parser.py file (which holds all the parsing logic) from certbot on github

This should give you a bit more idea how the parser works. parser.txt (23.6 KB)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.