ConfigurationError: Requested domain

I am an IT student and this is the first time I work on a server and I wanted to intall letsencrypt on my Apache server. My boss told me to install the package like this :

sudo apt get install letsencrypt`

So I did not clone it from git. My boss told me too that it’s not the last version but it is ok for him. I did the following commands after installing apache :

sudo apt get install letsencrypt
sudo a2enmod ssl
sudo a2ensite default-ssl.conf
sudo service apach2 restart
sudo letsencrypt --apache -d

and it return me this :

ConfigurationError: Requested domain is not a FQDN

What should I do ?

The "-d" requires the FQDN - like "-d mydomain.tld -d www.mydomain.tld"

My bad, I forgot my domain in the my last post …

It’s edited…

hi @Ch1ken

Your domain is registered however your site is not.

you need to add to your public DNS (the server and DNS servers)

Once this is done you should be able to issue certificates.


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