Instaa Lets Encrypt localhost

Please fill out the fields below so we can help you better.

My domain is: localhost
I ran this command: sudo certbot --apache
It produced this output:
“type”: “urn:acme:error:malformed”,
“detail”: “Error creating new authz :: DNS name does not have enough labels”,
“status”: 400

My web server is (include version):
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-07-27T14:34:01

The operating system my web server runs on is (include version): VERSION="16.04.3 LTS (Xenial Xerus)"
My hosting provider, if applicable, is: n/a
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

Whether encrypt can be installed on a local server?

Regards,
Jorma Hytonen

Hi @jormahytonen,

Certbot can be installed on a local server no problem. I think what you're trying to ask is whether Let's Encrypt can issue a certificate for a server that's only accessible locally. Am I understanding you correctly?

Let's Encrypt can only issue for publicly accessible domain names. We can't issue for "localhost" or IP addresses, or domain names that are only accessible via an private office network/intranet.

Yes, you understand it correctly!

My purpose was to test Let’s Encrypt before my Hosting company install it my public (shared) server.
The have not any SSL services to offer, yet. Or without any costs ;.) And I do not know what SSL service they decide to offer.

But thank’s to you answer.

Regards,
Jorma

1 Like

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