Hi I have an ubuntu 16.04 LAMP dev environment. I believe that I have configured the virtualhost file correctly, however I still can't letsencrypt to work properly. I have tried the install instructions from Digital Ocean found here. I have also tried the How to Forge Instructions installation found here, but all with no luck. I keep receiving the same error, so there probably some obvious error that I am missing. Any guidance much appreciated.
My Virtualhost file says:
<VirtualHost *:80>
DocumentRoot /home/webdevusr/public_html/povertysdemise.org
ServerName povertysdemise.org
ServerAlias povertysdemise.org
ServerAdmin ----@163.com<Directory /home/webdevusr/public_html/povertysdemise.org> Options Indexes MultiViews FollowSymLinks AllowOverride All allow from all </Directory>
My hosts file says:
127.0.0.1 povertysdemise.org
and the error message that I receive from letsencrypt is:
webdevusr@timbuktu ~ $ sudo ./certbot-auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apacheWhich names would you like to activate HTTPS for?
1: povertysdemise.org
2: ciacyleung.povertysdemise.onlineSelect the appropriate numbers separated by commas and/or spaces, or leave input
404 Not Found <body style="color: #444; margin:0;font:"
blank to select all options shown (Enter 'c' to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for povertysdemise.org
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. povertysdemise.org (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://povertysdemise.org/.well-known/acme-challenge/e_IksdoJiOX2DAmM9kKrfhB1H2r5Du1LFTx23r79K6M: "IMPORTANT NOTES:
The following errors were reported by the server:
Domain: povertysdemise.org
404 Not Found <body style="color: #444; margin:0;font:"
Type: unauthorized
Detail: Invalid response from
http://povertysdemise.org/.well-known/acme-challenge/e_IksdoJiOX2DAmM9kKrfhB1H2r5Du1LFTx23r79K6M:
"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.
I am missing a step somewhere... thanks in advance... first time encrypting my dev environment... not going well