Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 45a327f

Browse files
authored
Merge branch 'master' into odbc
2 parents 698ea3b + d9b6da2 commit 45a327f

8 files changed

Lines changed: 19 additions & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ RUN \
9797
certbot-dns-ovh \
9898
certbot-dns-rfc2136 \
9999
certbot-dns-route53 \
100+
certbot-dns-transip \
100101
requests && \
101102
echo "**** remove unnecessary fail2ban filters ****" && \
102103
rm \

Dockerfile.aarch64

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ RUN \
9797
certbot-dns-ovh \
9898
certbot-dns-rfc2136 \
9999
certbot-dns-route53 \
100+
certbot-dns-transip \
100101
requests && \
101102
echo "**** remove unnecessary fail2ban filters ****" && \
102103
rm \

Dockerfile.armhf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ RUN \
9797
certbot-dns-ovh \
9898
certbot-dns-rfc2136 \
9999
certbot-dns-route53 \
100+
certbot-dns-transip \
100101
requests && \
101102
echo "**** remove unnecessary fail2ban filters ****" && \
102103
rm \

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Container images are configured using parameters passed at runtime (such as thos
137137
| `-e URL=yourdomain.url` | Top url you have control over (`customdomain.com` if you own it, or `customsubdomain.ddnsprovider.com` if dynamic dns). |
138138
| `-e SUBDOMAINS=www,` | Subdomains you'd like the cert to cover (comma separated, no spaces) ie. `www,ftp,cloud`. For a wildcard cert, set this _exactly_ to `wildcard` (wildcard cert is available via `dns` and `duckdns` validation only) |
139139
| `-e VALIDATION=http` | Letsencrypt validation method to use, options are `http`, `tls-sni`, `dns` or `duckdns` (`dns` method also requires `DNSPLUGIN` variable set) (`duckdns` method requires `DUCKDNSTOKEN` variable set, and the `SUBDOMAINS` variable must be either empty or set to `wildcard`). |
140-
| `-e DNSPLUGIN=cloudflare` | Required if `VALIDATION` is set to `dns`. Options are `cloudflare`, `cloudxns`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136` and `route53`. Also need to enter the credentials into the corresponding ini file under `/config/dns-conf`. |
140+
| `-e DNSPLUGIN=cloudflare` | Required if `VALIDATION` is set to `dns`. Options are `cloudflare`, `cloudxns`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136`, `route53` and `transip`. Also need to enter the credentials into the corresponding ini file under `/config/dns-conf`. |
141141
| `-e DUCKDNSTOKEN=<token>` | Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org |
142142
| `-e EMAIL=<e-mail>` | Optional e-mail address used for cert expiration notifications. |
143143
| `-e DHLEVEL=2048` | Dhparams bit value (default=2048, can be set to `1024` or `4096`). |
@@ -273,7 +273,8 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
273273

274274
## Versions
275275

276-
* **13.11.19:** - Add php7-pdo_odbc.
276+
* **17.11.19:** - Add php7-pdo_odbc.
277+
* **17.11.19:** - Add transip dns validation plugin.
277278
* **27.10.19:** - Turn off lua resty core to get rid of error message in the log (existing users will have to delete `/config/nginx/nginx.conf` and restart the container).
278279
* **26.10.19:** - Add new package for stream-geoip2, remove geoip2 module patch.
279280
* **24.10.19:** - Add php7-pecl-imagick.

package_versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ libgd-2.2.5-r2
4747
libgpg-error-1.36-r2
4848
libice-1.0.9-r3
4949
libintl-0.19.8.1-r4
50-
libjpeg-turbo-2.0.2-r0
50+
libjpeg-turbo-2.0.3-r0
5151
libksba-1.3.5-r0
5252
libldap-2.4.48-r0
5353
libltdl-2.4.6-r6
@@ -59,7 +59,7 @@ libmnl-1.0.4-r0
5959
libmount-2.33.2-r0
6060
libnftnl-libs-1.1.3-r0
6161
libpng-1.6.37-r1
62-
libpq-11.5-r1
62+
libpq-11.6-r0
6363
libressl2.7-libcrypto-2.7.5-r0
6464
libressl2.7-libssl-2.7.5-r0
6565
libsasl-2.1.27-r3

readme-vars.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cap_add_param_vars:
5151
# optional container parameters
5252
opt_param_usage_include_env: true
5353
opt_param_env_vars:
54-
- { env_var: "DNSPLUGIN", env_value: "cloudflare", desc: "Required if `VALIDATION` is set to `dns`. Options are `cloudflare`, `cloudxns`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136` and `route53`. Also need to enter the credentials into the corresponding ini file under `/config/dns-conf`." }
54+
- { env_var: "DNSPLUGIN", env_value: "cloudflare", desc: "Required if `VALIDATION` is set to `dns`. Options are `cloudflare`, `cloudxns`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136`, `route53` and `transip`. Also need to enter the credentials into the corresponding ini file under `/config/dns-conf`." }
5555
- { env_var: "DUCKDNSTOKEN", env_value: "<token>", desc: "Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org" }
5656
- { env_var: "EMAIL", env_value: "<e-mail>", desc: "Optional e-mail address used for cert expiration notifications." }
5757
- { env_var: "DHLEVEL", env_value: "2048", desc: "Dhparams bit value (default=2048, can be set to `1024` or `4096`)." }
@@ -126,7 +126,8 @@ app_setup_nginx_reverse_proxy_block: ""
126126

127127
# changelog
128128
changelogs:
129-
- { date: "13.11.19:", desc: "Add php7-pdo_odbc." }
129+
- { date: "17.11.19:", desc: "Add php7-pdo_odbc." }
130+
- { date: "17.11.19:", desc: "Add transip dns validation plugin." }
130131
- { date: "27.10.19:", desc: "Turn off lua resty core to get rid of error message in the log (existing users will have to delete `/config/nginx/nginx.conf` and restart the container)." }
131132
- { date: "26.10.19:", desc: "Add new package for stream-geoip2, remove geoip2 module patch." }
132133
- { date: "24.10.19:", desc: "Add php7-pecl-imagick." }

root/defaults/dns-conf/transip.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Instructions: https://readthedocs.org/projects/certbot-dns-transip/
2+
# Convert the key to an RSA key (openssl rsa -in transip.key -out transip-rsa.key)
3+
# Place .key-file in the same directory as this file. Location "/config/dns-conf" is from within the container
4+
5+
certbot_dns_transip:dns_transip_username = <transip_username>
6+
certbot_dns_transip:dns_transip_key_file = /config/dns-conf/transip-rsa.key

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
7676
cp /defaults/ldap.conf /config/nginx/ldap.conf
7777

7878
# check to make sure DNSPLUGIN is selected if dns validation is used
79-
[[ "$VALIDATION" = "dns" ]] && [[ ! "$DNSPLUGIN" =~ ^(cloudflare|cloudxns|digitalocean|dnsimple|dnsmadeeasy|google|inwx|linode|luadns|nsone|ovh|rfc2136|route53)$ ]] && \
79+
[[ "$VALIDATION" = "dns" ]] && [[ ! "$DNSPLUGIN" =~ ^(cloudflare|cloudxns|digitalocean|dnsimple|dnsmadeeasy|google|inwx|linode|luadns|nsone|ovh|rfc2136|route53|transip)$ ]] && \
8080
echo "Please set the DNSPLUGIN variable to a valid plugin name. See docker info for more details." && \
8181
sleep infinity
8282

@@ -174,7 +174,7 @@ fi
174174
if [ "$VALIDATION" = "dns" ]; then
175175
if [ "$DNSPLUGIN" = "route53" ]; then
176176
PREFCHAL="--dns-${DNSPLUGIN} --manual-public-ip-logging-ok"
177-
elif [ "$DNSPLUGIN" = "inwx" ]; then
177+
elif [[ "$DNSPLUGIN" =~ ^(inwx|transip)$ ]]; then
178178
PREFCHAL="-a certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN} --certbot-dns-${DNSPLUGIN}:dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini --manual-public-ip-logging-ok"
179179
else
180180
PREFCHAL="--dns-${DNSPLUGIN} --dns-${DNSPLUGIN}-credentials /config/dns-conf/${DNSPLUGIN}.ini --manual-public-ip-logging-ok"

0 commit comments

Comments
 (0)