I'm just doing a lab test and I bought a domain name called habitnight.com, which the DNS A Record is pointing to my ISP IP address (dynamic). I have a simple Wordpress with no info and I would like to install the https cert. Port 80 is already open on my router pointing to the raspberry pi im using.
Any help would be appreciated.
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: habitnight.com
I ran this command: sudo certbot --apache
It produced this output:
root@habitnight:/home/sebas# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for habitnight.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. habitnight.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://habitnight.com/.well-known/acme-challenge/q8Yllivgew3ysq1HhDy7uHgxA-S4ixGrF1XGP6fZI5M [188.8.131.52]: "\n\n404 Not Found\n\n
The following errors were reported by the server:
Detail: Invalid response from
[184.108.40.206]: "\n\n404 Not
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.
My web server is (include version):
The operating system my web server runs on is (include version):
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
Server version: Apache/2.4.38 (Raspbian)
Server built: 2020-08-25T20:08:29
My hosting provider, if applicable, is: NONE
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):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot):