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: etrip.tips
I ran this command:
chris@wp-ms:/etc/letsencrypt$ ./certbot-auto certonly --manual -d etrip.tips -d www.etrip.tips
It produced this output:
Requesting to rerun ./certbot-auto with root privilegesā¦
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.etrip.tips
NOTE: The IP of this machine will be publicly logged as having requested this
certificate. If youāre running certbot in manual mode on a machine that is not
your server, please ensure youāre okay with that.
Are you OK with your IP being logged?
(Y)es/(N)o: y
Create a file containing just this data:
6fvBFDY-HKPsUv268KAUmdo86ASyh_IpB76sFzBaqj8.cakB4wmhYpZnqoUzh65FLExKNUiBVxXeeh4wZvA4oGY
And make it available on your web server at this URL:
http://www.etrip.tips/.well-known/acme-challenge/6fvBFDY-HKPsUv268KAUmdo86ASyh_IpB76sFzBaqj8
Press Enter to Continue
Waiting for verificationā¦
Challenge failed for domain www.etrip.tips
http-01 challenge for www.etrip.tips
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.etrip.tips
Type: unauthorized
Detail: Invalid response from
http://www.etrip.tips/.well-known/acme-challenge/6fvBFDY-HKPsUv268KAUmdo86ASyh_IpB76sFzBaqj8
[35.200.138.136]: ā\n\n404 Not
Found\n\nNot Found
\n<pā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): Server version: Apache/2.4.29 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1026-gcp x86_64)
My hosting provider, if applicable, is: GCP
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.32.0
.htaccess
RewriteEngine On RewriteBase / # Exception # If the URL starts "/.well-known/" then stop here. RewriteRule ^\.well_known/. - [L] RewriteRule ^index\.php$ - [L]add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) 1 [L]
RewriteRule ^(.*\.php) $1 [L]
RewriteRule . index.php [L]
I manually added the directory .well-known/acme-challenge and made www-data the owner
I added a file (called it auth) into a new folder with the required name and value, but it isnt visible there.
Iām assuming I dont need to alter the apache conf file for the site as it worked with creating the certificate.