Domain name does not end with a valid public suffix (TLD)

Please Help me , i can’t login to gitlab
There was an error running gitlab-ctl reconfigure:

letsencrypt_certificate[gitlab.vacs.local] (letsencrypt::http_authorization line 5) had an error: Acme::Client::Error::RejectedIdentifier: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: Acme::Client::Error::RejectedIdentifier: Error creating new order :: Cannot issue for “gitlab.vacs.local”: Domain name does not end with a valid public suffix (TLD)

Well… I suppose the Gitlab server is on a local network. Thus, LetsEncrypt can not access it. Also .local TLD does not exist (well it’s sort of reserved for use on local networks).

You can disable LetsEncrypt TLS certificate generation by changing the

# letsencrypt['enable'] = true

to

letsencrypt['enable'] = false

in the /etc/gitlab/gitlab.rb file and executing the gitlab-ctl reconfigure command.
Keep me posted how it goes. If it “fixes” your issue (which I suppose it will), please mark this reply as the correct answer.

Thank you your support.