Skip to content

Commit aa9fdfd

Browse files
committed
Removed the Oracle Cloud Infrastructure DNS DNS plugin, because it breaks certbot.
1 parent 87adde3 commit aa9fdfd

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/nginx-proxy-manager/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ sed -i "s/\"version\": \"0.0.0\",/\"version\": \"${NGINX_PROXY_MANAGER_VERSION}\
7575

7676
log "Patching Nginx Proxy Manager backend..."
7777
patch -p1 -d /tmp/nginx-proxy-manager < "$SCRIPT_DIR"/pip-install.patch
78+
patch -p1 -d /tmp/nginx-proxy-manager < "$SCRIPT_DIR"/remove-certbot-dns-oci.patch
7879

7980
cp -r /tmp/nginx-proxy-manager /app
8081

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Because of the Oracle Cloud Infrastructure DNS plugin dependencies, installing
2+
it causes certbot to be downgraded, which then break any execution of certbot.
3+
--- a/global/certbot-dns-plugins.js
4+
+++ b/global/certbot-dns-plugins.js
5+
@@ -437,20 +437,6 @@ dns_netcup_api_password = abcdef0123456789abcdef01234567abcdef0123`,
6+
full_plugin_name: 'dns-nsone',
7+
},
8+
//####################################################//
9+
- oci: {
10+
- display_name: 'Oracle Cloud Infrastructure DNS',
11+
- package_name: 'certbot-dns-oci',
12+
- package_version: '0.3.6',
13+
- dependencies: 'oci',
14+
- credentials: `[DEFAULT]
15+
-user = ocid1.user.oc1...
16+
-fingerprint = xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
17+
-tenancy = ocid1.tenancy.oc1...
18+
-region = us-ashburn-1
19+
-key_file = ~/.oci/oci_api_key.pem`,
20+
- full_plugin_name: 'dns-oci',
21+
- },
22+
- //####################################################//
23+
online: {
24+
display_name: 'Online',
25+
package_name: 'certbot-dns-online',

0 commit comments

Comments
 (0)