Install letsencrypt on Amazon ec2

My domain is: 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”: 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
}
},
{
“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
}
}
]
}

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

Hi @irshad_rf

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

Read

Use your own domain name.

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