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 ca-tic-app2.tic.ch

and it return me this :

ConfigurationError: Requested domain ca-tic-app2.tic.ch 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 ca-tic-app2.tic.ch to your public DNS (the dns1.agrinet.ch server and dns2.agrinet.ch DNS servers)

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

Andrei