My domain is:
ataraxic.org
I ran this command:
certbot certonly --debug --force-renew -a manual -d ataraxic.org --dry-run --authenticator apache
It produced this output:
Domain: ataraxic.org
Type: connection
Detail: Fetching
http://ataraxic.org/.well-known/acme-challenge/q4TbpnfsR9zrACf2MYY4PFvtlTxrmxLHhBkUEiQmpJs:
Connection refused
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):
Server version: Apache/2.4.7 (Ubuntu)
The operating system my web server runs on is (include version):
Ubuntu 14.04 3.16.0-77
My hosting provider, if applicable, is:
dyndns
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):
0.28.0
Sorry for this ānever-ending-stupid-questionā ā¦ but i am lost a bit here
Strange enough ā challenge is there for http
curl -X GET -I -4 https://ataraxic.org/.well-known/acme-challenge/q4TbpnfsR9zrACf2MYY4PFvtlTxrmxLHhBkUEiQmpJs
HTTP/1.1 200 OK
Date: Sun, 03 Mar 2019 19:46:32 GMT
Server: Apache/2.4.7
Strict-Transport-Security: max-age=63072000; includeSubdomains;
Last-Modified: Sun, 03 Mar 2019 19:37:09 GMT
ETag: ā57-58335c4135d0eā
Accept-Ranges: bytes
Content-Length: 87
and is not for http
curl -X GET -I -4 http://ataraxic.org/.well-known/acme-challenge/q4TbpnfsR9zrACf2MYY4PFvtlTxrmxLHhBkUEiQmpJs
HTTP/1.1 301 Moved Permanently
Date: Sun, 03 Mar 2019 19:47:56 GMT
Server: Apache/2.4.7
Location: https://ataraxic.org/.well-known/acme-challenge/q4TbpnfsR9zrACf2MYY4PFvtlTxrmxLHhBkUEiQmpJs
Content-Length: 299
Content-Type: text/html; charset=iso-8859-1
Also normal web request (firefox for ex) works for the challenge.
Iāve noticed that ācertbotā is trying http instead of https for some reason.
I do have āRewriteRuleā in my Apache config:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [NC,R=301,L]
Can you tell me what the heck is going on?
Thanks!