Requesting a certificate for superhost.gr, www.superhost.gr, mail.superhost.gr, autoconfig.superhost.gr, autodiscover.superhost.gr from Let’s Encrypt …
DNS-based validation failed : Failed to request certificate : Undefined subroutine &main::restart_zone called at /usr/libexec/webmin/webmin/letsencrypt-dns.pl line 47.
mail.superhost.gr challenge did not pass: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.mail.superhost.gr
I noticed though that a TXT record created in DNS Records
Why can’t it read it?
What does the error mean and what steps i need to take in order to request a certificate successfully?
You need to stop testing with the production LE system.
There is a --staging environment entire for that purpose.
If you don’t understand how something works, read:
Running the same command over and over and over again without changing anything is not going to fix it: There have been at lest 6 real certs issued for the exact same set of names today: https://crt.sh/?q=%.superhost.gr
DNS-based validation failed : Failed to request certificate : Undefined subroutine &main::restart_zone called at /usr/libexec/webmin/webmin/letsencrypt-dns.pl line 47.
mail.superhost.gr challenge did not pass: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.mail.superhost.gr
I dont seem to undertand why it cannot find the DNS entry that ACME created.
Could you please elaborate for me so i can understand and make it work?
Thank you.
Yes Webmin is aware of both ipv4 & ipv6 as shown in virtualserver superhost.ge details.
Domain namesuperhost.gr Created on 09/08/2018 by root Administration username nikos Administration group nikos Total server quota 1024 MB Server administrator’s quota 1024 MB IP address 176.223.129.220 (Shared by all servers) IPv6 address 2A02:7B40:B0DF:81DC::1 (Shared by all servers) Domain ID 153638911223787
Thanks for pointing this error to me.
Could you tell how to fix the issue with ipv6 that does not fetch the same results as ipv4 does?
Please give me commands that i issue to my VPS via SSH and i will post back the output.
I’am inexperinces with this SSL Cert stuff but i do have basic linux knowledge.
Please have a little patience and direct me on how to solve this by providing comamnds i should issue.
I have removed all IPv6 DNS Records for domain superhost.gr and i try to requesta a certificate. Here is the output:
Requesting a certificate for superhost.gr, www.superhost.gr, mail.superhost.gr, autoconfig.superhost.gr, autodiscover.superhost.gr from Let’s Encrypt …
… request failed : Web-based validation failed : Failed to request certificate :
mail.superhost.gr challenge did not pass: Invalid response from http://mail.superhost.gr/.well-known/acme-challenge/8ZytvGboUUyK2UD8q9199e-mckhTK5N-EhDYtnyJYB0 [176.223.129.220]: “\n \n \n \n Error: 404 Not Found</title”
DNS-based validation failed : Failed to request certificate :
Undefined subroutine &main::restart_zone called at /usr/libexec/webmin/webmin/letsencrypt-dns.pl line 47.
mail.superhost.gr challenge did not pass: Incorrect TXT record “IQ_bFSECzFcqYKWJSLWyV37-psVy57_cmF_bq-H63Sc” found at _acme-challenge.mail.superhost.gr
why does it say Incorrect TXT record found? That entry was automatically created by Virtualmin when request a certificate.
Please tell me what commands i need to try or what output i need to show you.
[root@superhost ~]# cat /var/named/superhost.gr.hosts
$ttl 38400
@ IN SOA ns1.superhost.gr. root.ns1.superhost.gr. (
1572891756
10800
3600
604800
38400 )
superhost.gr. IN A 176.223.129.220
www.superhost.gr. IN A 176.223.129.220
ftp.superhost.gr. IN A 176.223.129.220
m.superhost.gr. IN A 176.223.129.220
ns1.superhost.gr. IN A 176.223.129.220
ns2.superhost.gr. IN A 176.223.129.220
localhost.superhost.gr. IN A 127.0.0.1
webmail.superhost.gr. IN A 176.223.129.220
admin.superhost.gr. IN A 176.223.129.220
mail.superhost.gr. IN A 176.223.129.220
superhost.gr. IN MX 5 mail.superhost.gr.
superhost.gr. IN TXT “v=spf1 a mx a:superhost.gr ip4:176.223.129.220 ip4:176.223.129.220 ip6:2A02:7B40:B0DF:81DC::1 ?all”
autoconfig.superhost.gr. IN A 176.223.129.220
autodiscover.superhost.gr. IN A 176.223.129.220
superhost.gr. IN NS ns1.superhost.gr.
superhost.gr. IN NS ns2.superhost.gr.
_acme-challenge.mail.superhost.gr. 5 IN TXT OHR-_DZXStnvmr1aCl11yl_OBtfsFgdHasjcAxVz2oU
Could you please give command line commands to try so we can correct this mess?
Please bare with me, i will post back the output of the commands you want me to try.
as you can see i have removed all IPv6 entries
and TXT record has debbn added there by ACME automatically
and A record for mail.superhost.gr exists so what does this error refers too?
DNS problem: NXDOMAIN looking up TXT for _acme-challenge.mail.superhost.gr
WHAT “NON-Existent Domain” mail.superhost.gr has an A record.
It is NOT looking for an A record.
It needs a TXT record - not just any TXT record, a specific TXT record entry that matches the request [which proves control of the domain].
FYI - there are other ways to prove domain control.
But going outside a panel's control is NOT recommended.
This should be fixed in the control panel [VirtualMin].
Yes, it does, and that TXT record entry with specific value is applied automatically to my superhost.gr DNS Zone every time i make an attempt to request a certificate.
Since it is able to add this DNS entry by itself sucessfully WHY does it report back?
mail.superhost.gr challenge did not pass: Incorrect TXT record “IQ_bFSECzFcqYKWJSLWyV37-psVy57_cmF_bq-H63Sc” found at _acme-challenge.mail.superhost.gr
What exactly is this error message saying? that it cannot reuqest back the TXT record entry that told VirtualMin to put there in the first place?
And yet it doesn't MATCH.
Perhaps there needs to be a delay (waiting period) for DNS entry synchronization?
Or VirtualMin is simply putting the wrong entry in the right place - or the right entry in the wrong place - or anything other than the right entry in the right place [at the right time].
I been in the right place
But it must have been the wrong time
I'd have said the right thing
But must have used the wrong line
…
-Dr. John