Renewal wrong fetch url

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: lakre.gr

I ran this command: certbot renew

It produced this output:
Attempting to renew cert from /etc/letsencrypt/renewal/lakre.gr.conf produced an unexpected error: Failed authorization procedure. lakre.gr (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.lakre.gr.well-known/acme-challenge/E3DbswC1o5YdykQvQX3VDj19iKQjQHbCCq2nuX27gII: Error getting validation data, www.lakre.gr (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.lakre.gr.well-known/acme-challenge/hg8Iqvlbzc34mjIeQ3NC6DBq27dWyFTtefooosuYiyY: Error getting validation data. Skipping.
My web server is (include version):

The operating system my web server runs on is (include version): Debian 8

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): IPSConfig 3

I am trying to renew domain www.lakre.gr. It is supposed to create a fetch url https://www.lakre.gr/.well-known/… but instead it creates https://www.lakre.gr.well-known/
what should I do ?

Hi @christoforos,

This problem is caused by a mistake in a redirection in your web server configuration: it’s missing a trailing slash. It needs to redirect http://www.lakre.gr/ to https://www.lakre.gr/, but instead redirects it to http://www.lakre.gr (without the slash at the end). If you add the slash wherever the redirection is defined, it should work fine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.