My domain is: josvlaar.com + 8 others
I ran this command: sudo certbot --apache
It produced this output: a list of 13 hosts to enable SSL for, though I have 27 ServerName and ServerAlias directives setup in the Apache configuration files. Why it shows 13 of them, why the same 13 every time and why not any of the 14 others is beyond me. The hosts certbot shows and doesn't show are configured in the same way in the same configuration files.
The ServerName and ServerAlias records are setup in the same virtualhost as follows:
ServerName domain1.com
ServerAlias www.domain1.com
ServerName domain2.com
ServerAlias www.domain2.com
And so forth
The test subdomains are all put in a different virtualhost like so:
ServerName test.domain1.com
ServerName test.domain2.com
And so forth
Apart from the above configuration for the 8 other domains, I also have josvlaar.com, www.josvlaar.com and test.josvlaar.com setup the same way in 2 other virtualhosts. So that makes it 4 virtualhosts in total that the records are spread over. Apache says my config syntax is OK.
My web server is (include version): Apache 2
The operating system my web server runs on is (include version): Ubuntu 22.04
My hosting provider, if applicable, is: Strato
My DNS provider is Cloudflare. I have 3 DNS records setup (as DNS only) for every domain: an A record for domain.com and test.domain.com and a CNAME record for www.domain.com
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 1.21.0
My question is: how could it be possible that certbot only shows/detects half of the ServerName and ServerAlias domains configured? Could it have anything to do with Cloudflare?
Thank you for your time!