Monthly Archives: February 2017

/.well-known/acme-challenge/ – 404


1 renew failure(s), 0 parse failure(s)

 - The following errors were reported by the server:

 Type: unauthorized
 Detail: Invalid response from
 "<!DOCTYPE html>
 <html lang="en">
 <title>404 Page Not Found</title>
 <style type="text/css">

::selection{ background-color"

To fix these errors, please make sure that your domain name was
 entered correctly and the DNS A record(s) for that domain
 contain(s) the right IP address.

Try to add the following, inside server{}, on user nginx domain configuration..

location /.well-known/acme-challenge/ {
    try_files $uri /dev/null =404;

And reboot nginx… 🙂

Composer on CentOS 7

You need to have PHP installed before. 🙂
Here y’a go…
Under root…..

yum -y update

Switch into the temp directory.

cd /tmp

Install Composer using cURL

curl -sS | php

Make Composer globally accessible

mv composer.phar /usr/local/bin/composer


letsencrypt renew – 404 – Detail: Invalid response


letsencrypt renew output

Type: unauthorized
Detail: Invalid response from

nginx error log

66.133.XXX.XXX - - [11/Feb/2017:09:33:20 +0100] "GET /.well-known/acme-challenge/WLpdvugG3YzC53RTrZMJcYWsRqcj64vWLw43HNBkMN6 HTTP/1.1" 404 247 "" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +"

“Somehow” my domain root has changed.
I had to take a look at /etc/letsencrypt/renewal/ and fix some paths… 🙂