What I want:
I am going to install certificate for ruby on rails web app. The rails app is hosted on digital ocean. I got an “Unauthorized error” when installing certificate. I am saying the detailed track.
What I have done for certificate installation.
I followed the url ubuntutrusty-nginx. OS is ubuntu14.04 in digital ocean and I am using nginx for http service. I walked through the commands from the guide. When running “./path/to/certbot-auto certonly” I got the following error.
Error
Type: unauthorized
Detail: Invalid response from
Then see if you can put a test file in the /.well-known/acme-challenge/ directory and load that successfully. Once you can, you should be able to run the certbot install and get the certificate.