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.
–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?