Bug #15821
closed
pfSense-pkg-acme needs to be updated to use api.porkbun.com instead of porkbun.com
Added by Nita Vesa 6 months ago.
Updated 3 months ago.
Description
Porkbun recently made the decision to move their DNS API from porkbun.com to api.porkbun.com and the deadline for this change is 1st December '24. The pfSense-pkg-acme package currently still uses the old address and will break soon.
I have submitted a PR to fix this at https://github.com/pfsense/FreeBSD-ports/pull/1389
Patch for testing with 24.03, path strip count = 4,
diff --git a/security/pfSense-pkg-acme/files/usr/local/pkg/acme/dnsapi/dns_porkbun.sh b/security/pfSense-pkg-acme/files/usr/local/pkg/acme/dnsapi/dns_porkbun.sh
index ad4455b692c0..d88d38ff88a9 100755
--- a/security/pfSense-pkg-acme/files/usr/local/pkg/acme/dnsapi/dns_porkbun.sh
+++ b/security/pfSense-pkg-acme/files/usr/local/pkg/acme/dnsapi/dns_porkbun.sh
@@ -4,7 +4,7 @@
#PORKBUN_API_KEY="pk1_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
#PORKBUN_SECRET_API_KEY="sk1_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
-PORKBUN_Api="https://porkbun.com/api/json/v3"
+PORKBUN_Api="https://api.porkbun.com/api/json/v3"
######## Public functions #####################
- Status changed from New to Closed
- Assignee set to Jim Pingle
- % Done changed from 0 to 100
Despite having the latest version of pfSense-pkg-acme installed (0.9_1) - my local file /usr/local/pkg/acme/dnsapi/dns_porkbun.sh still does not contain the above fix. Any idea why?
# head -n 15 /usr/local/pkg/acme/dnsapi/dns_porkbun.sh
#!/usr/bin/env sh
# shellcheck disable=SC2034
dns_porkbun_info='Porkbun.com
Site: Porkbun.com
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_porkbun
Options:
PORKBUN_API_KEY API Key
PORKBUN_SECRET_API_KEY API Secret
Issues: github.com/acmesh-official/acme.sh/issues/3450
'
PORKBUN_Api="https://porkbun.com/api/json/v3"
######## Public functions #####################
Also available in: Atom
PDF