# Install letsencrypt on Amazon ec2

**URL:** <https://community.letsencrypt.org/t/install-letsencrypt-on-amazon-ec2/102003>\
**Category:** Help\
**Created:** [September 14, 2019, 9:03am UTC](https://community.letsencrypt.org/t/install-letsencrypt-on-amazon-ec2/102003 "2019-09-14T09:03:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![irshad\_rf](https://avatars.discourse-cdn.com/v4/letter/i/59ef9b/32.png) [@irshad\_rf](https://community.letsencrypt.org/u/irshad_rf)\
**Post date:** [September 14, 2019, 9:03am UTC](https://community.letsencrypt.org/t/install-letsencrypt-on-amazon-ec2/102003/1 "2019-09-14T09:03:10Z")

</div>

My domain is: [ec2-18-212-24-254.compute-1.amazonaws.com](http://ec2-18-212-24-254.compute-1.amazonaws.com)

I am using Amazon EC2(Amazon Linux AMI 2018.03.0 (HVM), SSD Volume Type)

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

I have tried various tutorials online to get letencrypt certificated but it failed.

I got the following error:

{  
“type”: “urn:ietf:params:acme:error:rejectedIdentifier”,  
“detail”: “Error creating new order :: Cannot issue for “[ec2-18-212-24-254.compute-1.amazonaws.com](http://ec2-18-212-24-254.compute-1.amazonaws.com)”: Policy forbids issuing for name (and 1 more problems. Refer to sub-problems for more information.)”,  
“status”: 400,  
“subproblems”: [  
{  
“type”: “urn:ietf:params:acme:error:urn:ietf:params:acme:error:rejectedIdentifier”,  
“detail”: “Error creating new order :: Policy forbids issuing for name”,  
“status”: 400,  
“identifier”: {  
“type”: “dns”,  
“value”: “[ec2-18-212-24-254.compute-1.amazonaws.com](http://ec2-18-212-24-254.compute-1.amazonaws.com)”  
}  
},  
{  
“type”: “urn:ietf:params:acme:error:urn:ietf:params:acme:error:rejectedIdentifier”,  
“detail”: “Error creating new order :: Policy forbids issuing for name”,  
“status”: 400,  
“identifier”: {  
“type”: “dns”,  
“value”: “[www.ec2-18-212-24-254.compute-1.amazonaws.com](http://www.ec2-18-212-24-254.compute-1.amazonaws.com)”  
}  
}  
]  
}

It would be appreciated if anyone could help me generate new certificates for the same.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [September 14, 2019, 9:56am UTC](https://community.letsencrypt.org/t/install-letsencrypt-on-amazon-ec2/102003/2 "2019-09-14T09:56:12Z")

</div>

Hi @irshad_rf

> [@irshad\_rf](#):
>
> [amazonaws.com](http://amazonaws.com)

you can't create a certificate with that domain name. `amazonaws.com` isn't allowed.

Read

> [@Policy forbids issuing for name on Amazon EC2 domain](https://community.letsencrypt.org/t/policy-forbids-issuing-for-name-on-amazon-ec2-domain/12692/4):
>
> @…

Use your own domain name.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [October 14, 2019, 9:56am UTC](https://community.letsencrypt.org/t/install-letsencrypt-on-amazon-ec2/102003/3 "2019-10-14T09:56:13Z")

</div>

Closed on October 14, 2019, 9:56am UTC

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