Problem to get a certificate for a non www domain

I can’t get a certificate for non-www domain, certbot is only getting for www domain.

The domain is:
I ran this command:
certbot --apache -d -d

It produced this output:
Failed authorization procedure. (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from "<body style=“padding:0; margin:0;”><iframe src=“

My web server is (include version):
Apache/2.4.29 (Ubuntu)

The operating system my web server runs on is (include version):
Ubuntu 18.04.1 LTS (Bionic Beaver)

My hosting provider, if applicable, is:
The domain was registered in godaddy
My VPS is in locaweb

I can login to a root shell on my machine (yes or no, or I don’t know):
Yes, I can.

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
No, I’m not using it.

Hi @lipesmile

there are different ip addresses:

Your non-www has two addresses:


But your www has only one.


So try to remove the non-www address.

1 Like

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