Error renewing -- malformed url


#1

I’m trying to renew my certificate, and get the error below. It seems pretty clear that the problem is the malformed verification url - it is missing a / between the domain name and the path. Any idea how I can fix this?
Thanks!


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:
cloud.bradstewart.ca

I ran this command:
certbot renew

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/cloud.bradstewart.ca.conf

Cert is due for renewal, auto-renewing…
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for cloud.bradstewart.ca
Waiting for verification…
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/cloud.bradstewart.ca.conf produced an unexpected error: Failed authorization procedure. cloud.bradstewart.ca (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://cloud.bradstewart.ca.well-known/acme-challenge/FuCgeGTXJqMSBT4MxyRaAcTG4hEAbxJXk-Q6qGJUgFc: Error getting validation data. Skipping.

All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/cloud.bradstewart.ca/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: cloud.bradstewart.ca
    Type: connection
    Detail: Fetching
    https://cloud.bradstewart.ca.well-known/acme-challenge/FuCgeGTXJqMSBT4MxyRaAcTG4hEAbxJXk-Q6qGJUgFc:
    Error getting validation data

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A 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):
Apache 2.4.25
The operating system my web server runs on is (include version):
Debian linux 9.5
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


#2

Check the Apache configuration for something like “Redirect / https://cloud.bradstewart.ca” and add a “/” at the end.


#3

Wow, that was fast, and you’re bang on. Amazing!

Thank you!