.well-known isn't landing in the right location


#1

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: thermoprohvac.com

I ran this command: ./certbot-auto certonly --webroot -w /opt/bitnami/apache2/htdocs/ -d thermoprohvac.com,www.thermoprohvac.com

It produced this output: …Failed authorization procedure. www.thermoprohvac.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.thermoprohvac.com.well-known/acme-challenge/eEFPj07lkAeyAw-uVTqr2xPbk0vy-1k0eNofevhlyoQ: dns :: DNS problem: NXDOMAIN looking up A for www.thermoprohvac.com.well-known, thermoprohvac.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.thermoprohvac.com.well-known/acme-challenge/JKAq--cjeirhqWEZFEZ1hLyG6XypCjbzSI3Qm52ubjc: dns :: DNS problem: NXDOMAIN looking up A for www.thermoprohvac.com.well-known…

My web server is (include version): Apache

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

My hosting provider, if applicable, is: Google Cloud

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.31.0

Instead of “https://www.thermoprohvac.com/well-known/acme-challenge/…” I am getting “https://www.thermoprohvac.com.well-known/acme-challenge/…” I just need to figure out where the ending / is missing in my configuration somewhere. (By the way, I am attempting to renew my certificate if that makes a difference in locating my error.)


#2

Check the Apache configuration for the HTTP virtual host(s) for something like “Redirect / https://www.thermoprohvac.com” and add a / to the end.


#3

Gets me every time! Hopped into the config file, made the change and still nothing. Then I remembered to restart apache and viola, joy! Thank you Matt!


closed #4

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