I have a Virtual Private Server for which I have root access, and about 10 websites.
- https://www.kirkbymicrowave.co.uk/ - my main company one.
- https://www.dhars.org.uk/ - amateur radio club
- https://www.g8wrb.co.uk/ - personal amateur radio website.
- Several others.
The problem is, the personal site, https://www.g8wrb.co.uk/ keeps reporting the certificate is valid for the kirkbymicrowave.co.uk domain. What I find odd, is if I copy the Apache configuration file of a site that’s working okay (dhars.org.uk) to the problematic one (g8wrb.co.uk), then the latter site does not work after a simple search and replace of dhars.org.uk to g8wrb.co.uk g8wrb.co.uk.conf.txt (4.3 KB)
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: g8wrb.co.uk
I ran this command:
root@localhost:/etc/apache2/sites-available# certbot
It produced this output:
Saving debug log to /var/logg8wrb.co.uk.confg8wrb.co.uk.conf.txt (4.3 KB) letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: g8wrb.co.uk
2: www.g8wrb.co.uk
3: kirbymicrowave.co.uk
4: www.kirbymicrowave.co.uk
5: kirkbymicrowave.co.uk
6: www.kirkbymicrowave.co.uk
7: steam-boilers.co.uk
8: www.steam-boilers.co.uk
9: kirkbymicrowave.com
10: www.kirkbymicrowave.com
11: dhars.org.uk
12: www.dhars.org.uk
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 1
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn’t close to expiry.
(ref: /etc/letsencrypt/renewal/g8wrb.co.uk.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for g8wrb.co.uk
Waiting for verification…
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/g8wrb.co.uk.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you’re confident your site works on HTTPS. You can undo this
change by editing your web server’s configuration.
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2
Redirecting vhost in /etc/apache2/sites-enabled/g8wrb.co.uk.conf to ssl vhost in /etc/apache2/sites-enabled/g8wrb.co.uk.conf
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains: https://g8wrb.co.uk
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=g8wrb.co.uk
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/g8wrb.co.uk/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/g8wrb.co.uk/privkey.pem
Your cert will expire on 2020-02-19. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the “certonly” option. To non-interactively renew all of
your certificates, run “certbot renew” -
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
My web server is (include version): Apache
The operating system my web server runs on is (include version): Debian 9.8 (stretch)
My hosting provider, if applicable, is:
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):certbot 0.28.0