joeminicucci / RedIra

A cloud automation system for Red Teams based on Terraform and Ansible
GNU General Public License v3.0
24 stars 4 forks source link

AWS did not return the expected TXT record for fqdn #2

Open s1nglethr3ad opened 2 years ago

s1nglethr3ad commented 2 years ago

I have a AWS hosted zone for my domain. Question. Are the TXT records created automatically through the modules or do they need to be added before hand?

╷
│ Error: error creating certificate: error: one or more domains had a problem:
│ [*.fish.mydomain.com] time limit exceeded: last error: NS ns-1089.awsdns-08.org. did not return the expected TXT record [fqdn: _acme-challenge.fish.mydomain.com., value: -xbT3XCU89H27RALqCwxP6dEg0GRb-pXHGEnjpltOMc]:
│ [fish.mydomain.com] time limit exceeded: last error: NS ns-1089.awsdns-08.org. did not return the expected TXT record [fqdn: _acme-challenge.fish.mydomain.com., value: Sz6TyAgNmlrNGfvI-nlrCR_Xg_660AJxWf6Izkocz-A]:
│
│
│   with module.infra-phishing-gophish[0].module.phishing-create-certs.acme_certificate.certificate,
│   on modules/aws/letsencrypt/create-cert-dns/main.tf line 17, in resource "acme_certificate" "certificate":
│   17: resource "acme_certificate" "certificate" {

Thanks!

null-event commented 1 year ago

I just fixed this by editing theproviders.tffile in /modules/aws/letsencrypt/create-cert-dns and the aws_complete.providers.tf file in the project's root directory to include the latest version of vancluever/acme (2.12.0 at time of writing).