[SOLVED] Proxmox Letsencrypt and Yandex DNS

mrpredalien

New Member
Sep 30, 2020
3
2
3
35
Hello.

I'm trying to setup Letsencrypt certificate on PVE 6.2. Had some troubles with initial setup for DNS challenge, but managed to resolve most of issues by reading manual. But now I'm stuck on getting validation from LE (both staging and production). I can see TXT record in Yandex DNS management console when trying to request certificate from LE. Here is an output I got:
Code:
root@pve:~# pvenode acme cert order
Loading ACME account details
Placing ACME order
Order URL: https://acme-staging-v02.api.letsencrypt.org/acme/order/########/#########

Getting authorization details from 'https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/#########'
The validation for pve.example.com is pending!
Add TXT record: _acme-challenge.pve.example.com
Sleeping 30 seconds to wait for TXT record propagation
Triggering validation
Sleeping for 5 seconds
Remove TXT record: _acme-challenge.pve.example.com
validating challenge 'https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/#########' failed - status: invalid
Task validating challenge 'https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/#########' failed - status: invalid

I tried to extend sleeping time for ACME plugin to 300 seconds, same error.
Any ideas on what I'm doing wrong?
 
Ok, looks like problem solved. I checked with dig on TXT records for my domain, it looks like DNS propagation for Yandex DNS took longer than 600 seconds. I reconfigured delay as 1200 and everything is ok.
 
  • Like
Reactions: fabian
Hi, can you share how did you reconfigured delay ? My looking for this option and cant find it
 
  • Like
Reactions: eloekset