My domain is:
I ran this command:
sudo certbot --apache
I have just installed a certificate for 8 domains with no issues, but for some reason this particular domain never shows up on the list as an available domain to install a certificate.
I have the conf file in my sites-available folder
I have ServerAlias and ServerName setup just like all the other
Checked permissions in the file and it was fine like the others
But no matter what I do after running
sudo certbot --apache when the list of domains pops up I can see all the other domains show up except the one I am currently doing.
What was weird is that before I had even setup a certificate for that domain I checked to see what certificated I had on the server and it showed that domain in the list. What was crazy is I didn’t even set it up yet so I have no idea what happened.
What I did do different with this domain is that I copied a previos conf file that had already contain the Rewrite conditions that Certbot creates so I was not sure if after restarting apache that screwed thing up.
I went back and recreated the file instead of copied and I delted the existing cert with
sudo certbot delete and I still can’t get that domain to appear.
I even tried to install it manually with
sudo certbot --apache -d dinargururv.com -d www.dinargururv.com but that still didn’t work.
There needs to be a corresponding site-enabled entry.
[ see: Ubuntu Manpage: a2ensite, a2dissite - enable or disable an apache2 site / virtual host ]
What names are shown with:
I never had to create anything in the
sites-enabled folder with any of my other domains. They were already auto generated. Here are the steps I did with all my previous domains that worked fine.
- I would create my conf file in the
sites-available folder -> example.com.conf
- I would run the Certbot command
sudo certbot --apache
- The domain
example.com would appear on the list to choose from
- I choose the domains by the corresponding numbers
- It would auto-generate the certificate and all was good.
I did this multiple times with no problem, but for this particular domain it never shows up on the list for me to choose.
that's not possible, as @rg305 wrote. A symbolic link in sites-enabled is required. May be you have used a2ensite to enable your site.
Please show the output of
and the output of the sites-enabled folder.
PS: Checking your domain you have already a certificate created - https://check-your-website.server-daten.de/?q=dinargururv.com
But why there are so much cPanel - certificates? First is from
And the domain uses the wrong certificate:
expires in 87 days fatguyshirts.com, www.fatguyshirts.com - 2 entries
Looks like you have a standard port 443 vHost that answers.
So it's only an certificate installation, not a certificate creation problem.
OMG how in the world did I go so long and not realize I didn’t run
sudo a2ensite first…
I’m an idiot, never mind and thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.