Issuing a certificate for my aws lightsail server is forbidden by policy

Hi,

I want to use letsencrypt to issue a certificate for my aws lightsail server for development.
But issuing a certificate for my aws lightsail server is forbidden by policy.

–Domain: ec2-54-202-156-183.us-west-2.compute.amazonaws.com
–Here is the command I ran and the output:
ubuntu@ip-172-26-13-17:~$ sudo certbot --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter ‘c’ to cancel): ec2-54-202-156-183.us-west-2.compute.amazonaws.com
Obtaining a new certificate
An unexpected error occurred:
Error creating new order :: Cannot issue for “ec2-54-202-156-183.us-west-2.compute.amazonaws.com”: The ACME server refuses to issue a certificate for this domain name, because it is forbidden by policy
Please see the logfiles in /var/log/letsencrypt for more details.

Could you please help me?

Thanks

Let’s Encrypt doesn’t forbid EC2 or Lightsail instances from issuing certificates.

Let’s Encrypt forbids people from issuing certificates for those amazonaws.com hostnames, because of how quickly they can change hands.

Do you have another domain name you can use?

2 Likes

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