Can get certificate for aws ec2 instance

My domain is:

I ran this command: sudo certbot --nginx

It produced this output: An unexpected error occurred:

Error creating new order :: Cannot issue for "": The ACME server refuses to issue a certificate for this domain name, because it is forbidden by policy

Ask for help or search for solutions at See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My web server is (include version): nginx

The operating system my web server runs on is (include version): ubuntu

My hosting provider, if applicable, is: AWS EC2 instance

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

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): can access sudo permission

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):1.32.2

As far as I know, those kind of Amazon-hostnames are not permitted to get a Let's Encrypt certificate. Probably due to their relative ephemeral nature. You can get a certificate for a different hostname pointing to that machine though.


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