I would like to understand the receipt error message.
I’d installed a standalone Apache 2.4.25 (Raspian) on my Raspberry PI 3b (Linux Raspberrypi 4.14.71-v7+, Debian-Version: 9.4). This webserver should only provide my private intranet. It should not be accessable from the internet.
To provide higher security I‘d like to prohibit the „http“ traffic. Every client should use „https“. Therefor I need a certificate.
Hostname is „raspberrypi“
Now my Question: Is it possible to get a certificate for this hostname?
I always get an error message: „… DNS name does not have enough labels“
I installed letsencrypt from git (git clone https://github.com/letsencrypt/letsencrypt).
To create the certificate I use „./letsencrypt-auto -d raspberrypi -m MyEmail“
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:
Hostname: raspberrypi (domain: ringwald-local)
I ran this command:
./letsencrypt-auto -d raspberrypi -m MyEmai
It produced this output:
„… DNS name does not have enough labels"
My web server is (include version):
standalone Apache 2.4.25 (Raspian)
The operating system my web server runs on is (include version):
Linux Raspberrypi 4.14.71-v7+, Debian-Version: 9.4
My hosting provider, if applicable, is:
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):
Cyberduck via SFTP (it works well)