Failed authorization procedure

Hello,

My domain is: www.mattserver.com

I ran this command: certbot --apache -d mattserver.com

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mattserver.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mattserver.com (http-01): urn:acme:error:dns :: DNS problem: NXDOMAIN looking up A for mattserver.com

My web server is (include version): L.A.M.P.
Apache 2.4.29, Mysql 5.7, Php 7.2

The operating system my web server runs on is (include version): Ubuntu 18.04.1 LTS

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): no

Note: I am pretty inexperienced with linux shell but I do know quite a bit.

mattserver.com, nor www.mattserver.com, resolve to any IP via global DNS resolvers.
It doesn’t seem to be a registered domain.
Is it really new?
Did you spell it correctly?
I do see a matserver.com

let me rerun with www.mattserver.com

I received the same error

mattserver.com, nor www.mattserver.com, resolve to any IP via global DNS resolvers.
It doesn’t seem to be a registered domain.
Is it really new?
Did you spell it correctly?
I do see:
matserver.com
mattsserver.com

With matserver.com I got:
Failed authorization procedure. matserver.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://matserver.com/.well-known/acme-challenge/OXDypoRvh7pmyJXS1fM80djQKEaa5WAogYyTceRePpI [50.63.202.47]: 404
However when I tried mattsserver.com I got:
Failed authorization procedure. mattsserver.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mattsserver.com/.well-known/acme-challenge/vUZOhrca0hbeHRgVLdSHJBA6WnOubq4LufzIaiqz7Pw: "\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>HugeDomains"

To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. With Let’s Encrypt, you do this using software that uses the ACME protocol, which typically runs on your web host.

So step #1 is register a domain name (on the Internet).

Thanks, let me try it out.

You can't get a certificate for just any domain name, that would be rather beside the point of secure connections. You need to own the domain name for which you want the certificate. It needs to be a real public domain name.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.