Trouble with DNS NSUPDATE (Enable DNS alias mode )
-
And I saw this:
https://redmine.pfsense.org/issues/15061This as you see on screenshot, this was working for 5 years.
-
I have a file :
brit-hotel-fumel.netnsupdate_acme-challenge.MY-DOMAIN.TLD.key
and also a
brit-hotel-fumel.netnsupdate_acme-challenge.MY-DOMAIN.TLD.serverNot sure why your "_acme-challenge." part is missing.
I just hit 'Renewal' a couple of minutes ago for my certificate set up with acme.sh
The /tmp/acme/ folder didn't even exist before I update (the /tmp/ folder gets cleaned out during a pfSense reboot) and it renewed just fine.
That is : as my cert was only a week old, I giot the fast way out method :.... [Mon May 13 11:10:01 CEST 2024] Using pre generated key: /tmp/acme/V2_MY-DOMAIN.TLD/MY-DOMAIN.TLD/MY-DOMAIN.TLD.key.next [Mon May 13 11:10:01 CEST 2024] Generate next pre-generate key. [Mon May 13 11:10:01 CEST 2024] Multi domain='DNS:MY-DOMAIN.TLD,DNS:*.MY-DOMAIN.TLD' [Mon May 13 11:10:04 CEST 2024] Getting webroot for domain='MY-DOMAIN.TLD' [Mon May 13 11:10:04 CEST 2024] Getting webroot for domain='*.MY-DOMAIN.TLD' [Mon May 13 11:10:04 CEST 2024] MY-DOMAIN.TLD is already verified, skip dns-01. [Mon May 13 11:10:04 CEST 2024] *.MY-DOMAIN.TLD is already verified, skip dns-01. [Mon May 13 11:10:04 CEST 2024] Verify finished, start to sign. [Mon May 13 11:10:04 CEST 2024] Lets finalize the order. ....
which means no DNS checking, so this test is no conclusive.
I use
and this version is about 2 weeks. Id did renew my cert last week.
on pfSense 24.03.
And I use the "nsupdate" method against my own domain name server.
@maverick_slo said in Trouble with DNS NSUPDATE (Enable DNS alias mode ):
Soooo.... I will have my 300 certificates nicely expired if this doesn`t get fixed really quick.
Not useful foryou right now, but set the auto renewal to "60" days or even less.
If something fails, that gives you "30" day to sort things out. -
I tried renew, some of my certs are renewing OK, some not (because of above error).
But then I tried to add BRAND NEW subdomain cert and it failed.
If I revert commit made by some 3rd party guy all starts to work again just fine.
https://github.com/pfsense/FreeBSD-ports/pull/1330/commits/bdd9ddf709119c51cd67719213d9ab15dafaa3abTried on ACME PKG 0.8 on:
2.7.2
24.03This is such a mess....
-
And people will start to complain when they try to issue new cert with this method.
See below for renewal and why it is working:
When I renewed just now it added 2 wrongly named files but it did work, because in that folder there were still old files WHICH HAVE SAME CONTENT as new files.
So this explain why renew could work, and new cert will not work at all.
-
I just got of the phone, my fellow sysadmin from other company has exactly the same issue on his pfsense install, he is trying to create new cert and he spent like 3 hours trying :)
-
Do you use any of these two :
-
@Gertjan I use ENABLE DNS ALIAS MODE, see my above screenshot...
-
Reverted this:
And voila, all is fine again.
-
I reverted that particular change, new version is building now and should be available in a while.
-
@jimp Thanks, will try tomorrow!
-
Yeah now its working just fine again.
Thanks! -
I think I had the same issue with ACME - LE and DA dns check. See this topic
This one was also solved with the update/reverted code.
Thank you for the quick fix release @jimp