I’m trying to start using LetsEncrypt. In the past three years I have been using Comodo-provided SSL certs but I want to migrate to LetsEncrypt now. So my website has been using SSL for a while, but it’s the first time using LetsEncrypt. I’m trying to figure what exactly the problem is. I know the IPs are correct because I can access my site just fine. I couldn’t find any potential errors in my DNS config either.
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:
I ran this command:
sudo certbot --apache -d andyibanez.com -d www.andyibanez.com
It produced this output:
Performing the following challenges:
http-01 challenge for andyibanez.com
http-01 challenge for www.andyibanez.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. andyibanez.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://www.andyibanez.com [45.79.163.159]: "<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=u"
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: andyibanez.com
Type: unauthorized
Detail: Invalid response from https://www.andyibanez.com
[45.79.163.159]: "<!DOCTYPE html>\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta
http-equiv=\"Content-Type\" content=\"text/html; charset=u"
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.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version):
Server version: Apache/2.4.7 (Ubuntu)
Server built: Apr 3 2019 18:04:25
The operating system my web server runs on is (include version):
Distributor ID: | Ubuntu |
---|---|
Description: | Ubuntu 14.04.6 LTS |
Release: | 14.04 |
Codename: | trusty |
My hosting provider, if applicable, is:
I run a VPS provided by Linode.
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): Yes and no. I use Webmin but I have been doing this from the command line.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.31.0