Standalone for internal server NAME.real

I try generate cert for my internal server with next domain that include real domain name.

My domain is:

I ran this command:

certbot certonly --standalone --preferred-challenges http -d

It produced this output:

Failed authorization procedure. (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: DNS problem: NXDOMAIN looking up A for


  • The following errors were reported by the server:

    Type: connection
    Detail: DNS problem: NXDOMAIN looking up A for

    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. Additionally, please check that
    your computer has a publicly routable IP address and that no
    firewalls are preventing the server from communicating with the
    client. If you’re using the webroot plugin, you should also verify
    that you are serving files from the webroot path you provided.

My web server is (include version):
The operating system my web server runs on is (include version):
CentOS Linux release 7.4.1708
My hosting provider, if applicable, is:
my cloud
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

Can I create cert for my server?

Depends on whether the domain name actually exists.
Could you please share the name instead of hiding it?


You will need a real domain (e.g public registered, not local) and (public resolvable DNS server or public accessible domain) to generate a cert for your server.

Thank you

Yeah, that error means that Let’s Encrypt couldn’t find a DNS record (A or AAAA record) for your domain name. You need to make one. If you think you have this, you’d need to provide the actual domain name for anyone to be able to help you.

I assume with "connectable", you mean to be able to connect to the destination IP? Because that's not true, you can get a certificate for a private IP, as long as the domain name is real. You can use the DNS challenge, it only needs a publically accessable DNS server.

That’s true.


Hi! Thnx for your answers. I want clarify:
I want create cert for and real only it is internal name and have internal ip.


In this case, i would suggest you use DNS challenges. Since one of the server names is not publicly accessible (for LE http validation server).

Thank you

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