I recently changed my dev server’s domain name, and now I’m having trouble getting SSL working.
Previously, the server was pointing to jacob-01.naf.org. SSL (set up with let’s encrypt) was working fine. Now, the site is still functioning, but the certificate isn’t.
My old certificate is still referenced in /etc/apache2/sites-available/000-default-le-ssl.conf, but if I try removing the reference from there or revoking the certificate I can’t start up apache again.
I’m really bad at resolving sys admin stuff, but I’ve had a few coworkers try to resolve the issue as well with no luck.
Thanks in advance! Please let me know if I should include any extra information.
My domain is:
I ran this command:
sudo certbot -d bojack.naf.org --force-renewal
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for bojack.naf.org
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. bojack.naf.org (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://bojack.naf.org/.well-known/acme-challenge/QGhht4WcnLwEJ59Ghz8FdZLjmbR4KC8ip2xTlDMvrYc: Connection refused
The following errors were reported by the server:
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
My web server is (include version):
The operating system my web server runs on is (include version):
Linux (Ubuntu 16.04.2 LTS)
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot):