Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
ACME
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

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

Actions #1

Updated by Adrien Carlyle 6 months ago

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 #####################
Actions #2

Updated by Jim Pingle 5 months ago

  • Status changed from New to Closed
  • Assignee set to Jim Pingle
  • % Done changed from 0 to 100

Fixed in ACME pkg v0.9

Actions #3

Updated by Ben Woods 3 months ago

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 #####################
Actions

Also available in: Atom PDF