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: pwa-test.apollo.com.ph
I ran this command:
sudo certbot certonly --agree-tos --renew-by-default --config ‘/usr/local/etc/le-renew-haproxy.ini’ --http-01-port ‘54321’
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for pwa-test.apollo.com.ph
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. pwa-test.apollo.com.ph (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://pwa-test.apollo.com.ph/.well-known/acme-challenge/4Uz3Fh5lPCpjOiP1_RVsOzgFGHuk0mZe8e4ceTfSa9o: "
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: pwa-test.apollo.com.ph
Error 404 Not Found <b"
Type: unauthorized
Detail: Invalid response from
http://pwa-test.apollo.com.ph/.well-known/acme-challenge/4Uz3Fh5lPCpjOiP1_RVsOzgFGHuk0mZe8e4ceTfSa9o:
"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.
root@pwa-test:/usr/local/sbin#
My web server is (include version): HA-Proxy version 1.6.3 2015/12/25
The operating system my web server runs on is (include version): Ubuntu 16.04.3 LTS
My hosting provider, if applicable, is: ApolloGlobal.Net, Application Service Provider (this is according to https://hostingdetector.com/ because i’m not entirely sure)
I can login to a root shell on my machine (yes or no, or I don’t know): yes I have root access
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
I followed the instructions from https://www.digitalocean.com/community/tutorials/how-to-secure-haproxy-with-let-s-encrypt-on-ubuntu-14-04 for setting up the initial certificate. And now about 2 weeks before the certificate expires, I forgot to setup the auto-renewal. After trying the steps from the digital ocean site. I’m stuck with this error (client lacks insufficient authorization)
I verified that we don’t have any firewall for the server yet (ufw is inactive); Also I modified the renewal conf file in /etc/letsencrypt/renewal to listen to port 54321, and my HAProxy config file also lists the backend for letsencrypt at :54321 port and have applied the ACL in the frontend sections. I can provide any config file if needed. Any help is greatly appreciated.