We self-host our website. It is behind a firewall. We have our domain pointed to the firewall. We NAT so that traffic to the domain goes to the web server. We installed certbot and successfully installed the certificates. However, we could no longer get to our Wordpress website. It is now directing to an IIS7 server which used to host our website. Even after running the certbot delete, we still cannot get to our website. Here is an audit trail:
root@debian-lamp:/home/jetpack# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): ************ (email address removed)
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server. Do you agree?
(Y)es/(N)o: y
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
(Y)es/(N)o: y
Account registered.
Which names would you like to activate HTTPS for?
1: mcjcohio.org
2: www.mcjcohio.org
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1,2
Requesting a certificate for mcjcohio.org and www.mcjcohio.org
Performing the following challenges:
http-01 challenge for mcjcohio.org
http-01 challenge for www.mcjcohio.org
Waiting for verification...
Cleaning up challenges
Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf
Enabled Apache socache_shmcb module
Enabled Apache ssl module
Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf
Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf
Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf
Redirecting vhost in /etc/apache2/sites-enabled/000-default.conf to ssl vhost in /etc/apache2/sites-available/000-default-le-ssl.conf
Congratulations! You have successfully enabled https://mcjcohio.org and
https://www.mcjcohio.org
Subscribe to the EFF mailing list (email: brian.buttrey@mcjcohio.org).
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/mcjcohio.org/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/mcjcohio.org/privkey.pem
Your certificate will expire on 2021-08-12. 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
root@debian-lamp:/home/jetpack# service apache2 stop
root@debian-lamp:/home/jetpack# service apache2 start
root@debian-lamp:/home/jetpack# certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: mcjcohio.org
2: www.mcjcohio.org
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): c
Please specify --domains, or --installer that will help in domain names autodiscovery, or --cert-name for an existing certificate name.
root@debian-lamp:/home/jetpack# certbot delete
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which certificate(s) would you like to delete?
1: mcjcohio.org
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
The following certificate(s) are selected for deletion:
Are you sure you want to delete the above certificate(s)?
(Y)es/(N)o: y
Deleted all files relating to certificate mcjcohio.org.
root@debian-lamp:/home/jetpack# service apache2 restart
My domain is: mcjcohio.org
I ran this command: certbot --apache
It produced this output: We are now unable to access our website
My web server is (include version): Apache
The operating system my web server runs on is (include version): Debian GNU/Linux 10 (buster)
My hosting provider, if applicable, is: Self Hosted
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 1.15.0