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

Commit cf5812f

Browse files
aptalcathelamer
authored andcommitted
deprecate tls-sni
1 parent 4a406dc commit cf5812f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Container images are configured using parameters passed at runtime (such as thos
134134
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
135135
| `-e URL=yourdomain.url` | Top url you have control over (`customdomain.com` if you own it, or `customsubdomain.ddnsprovider.com` if dynamic dns). |
136136
| `-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) |
137-
| `-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`). |
137+
| `-e VALIDATION=http` | Letsencrypt validation method to use, options are `http`, `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`). |
138138
| `-e DNSPLUGIN=cloudflare` | Required if `VALIDATION` is set to `dns`. Options are `cloudflare`, `cloudxns`, `cpanel`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `domeneshop`, `gandi`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136`, `route53` and `transip`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`. |
139139
| `-e DUCKDNSTOKEN=<token>` | Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org |
140140
| `-e EMAIL=<e-mail>` | Optional e-mail address used for cert expiration notifications. |
@@ -176,7 +176,6 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
176176
### Validation and initial setup
177177
* Before running this container, make sure that the url and subdomains are properly forwarded to this container's host, and that port 443 (and/or 80) is not being used by another service on the host (NAS gui, another webserver, etc.).
178178
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80
179-
* For `tls-sni` validation, port 443 on the internet side of the router should be forwarded to this container's port 443
180179
* For `dns` validation, make sure to enter your credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`
181180
* Cloudflare provides free accounts for managing dns and is very easy to use with this image. Make sure that it is set up for "dns only" instead of "dns + proxy"
182181
* Google dns plugin is meant to be used with "Google Cloud DNS", a paid enterprise product, and not for "Google Domains DNS"
@@ -283,6 +282,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
283282

284283
## Versions
285284

285+
* **28.01.20:** - Deprecate tls-sni validation method, remove from docs.
286286
* **27.01.20:** - Add support for cpanel dns validation.
287287
* **10.01.20:** - Add support for domeneshop dns validation.
288288
* **07.01.20:** - Update ciphers from Mozilla ssl-config recommendations.

readme-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ param_env_vars:
3434
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
3535
- { env_var: "URL", env_value: "yourdomain.url", desc: "Top url you have control over (`customdomain.com` if you own it, or `customsubdomain.ddnsprovider.com` if dynamic dns)." }
3636
- { env_var: "SUBDOMAINS", env_value: "www,", desc: "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)" }
37-
- { env_var: "VALIDATION", env_value: "http", desc: "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`)." }
37+
- { env_var: "VALIDATION", env_value: "http", desc: "Letsencrypt validation method to use, options are `http`, `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`)." }
3838
param_usage_include_vols: true
3939
param_volumes:
4040
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "All the config files including the webroot reside here." }
@@ -80,7 +80,6 @@ app_setup_block: |
8080
### Validation and initial setup
8181
* Before running this container, make sure that the url and subdomains are properly forwarded to this container's host, and that port 443 (and/or 80) is not being used by another service on the host (NAS gui, another webserver, etc.).
8282
* For `http` validation, port 80 on the internet side of the router should be forwarded to this container's port 80
83-
* For `tls-sni` validation, port 443 on the internet side of the router should be forwarded to this container's port 443
8483
* For `dns` validation, make sure to enter your credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`
8584
* Cloudflare provides free accounts for managing dns and is very easy to use with this image. Make sure that it is set up for "dns only" instead of "dns + proxy"
8685
* Google dns plugin is meant to be used with "Google Cloud DNS", a paid enterprise product, and not for "Google Domains DNS"
@@ -126,6 +125,7 @@ app_setup_nginx_reverse_proxy_block: ""
126125

127126
# changelog
128127
changelogs:
128+
- { date: "28.01.20:", desc: "Deprecate tls-sni validation method, remove from docs." }
129129
- { date: "27.01.20:", desc: "Add support for cpanel dns validation." }
130130
- { date: "10.01.20:", desc: "Add support for domeneshop dns validation." }
131131
- { date: "07.01.20:", desc: "Update ciphers from Mozilla ssl-config recommendations." }

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ if [ "$VALIDATION" = "dns" ]; then
187187
fi
188188
echo "${VALIDATION} validation via ${DNSPLUGIN} plugin is selected"
189189
elif [ "$VALIDATION" = "tls-sni" ]; then
190-
PREFCHAL="--non-interactive --standalone --preferred-challenges tls-sni"
191-
echo "tls-sni validation is selected"
190+
PREFCHAL="--non-interactive --standalone --preferred-challenges http"
191+
echo "*****tls-sni validation has been deprecated, attempting http validation instead"
192192
elif [ "$VALIDATION" = "duckdns" ]; then
193193
PREFCHAL="--non-interactive --manual --preferred-challenges dns --manual-public-ip-logging-ok --manual-auth-hook /app/duckdns-txt"
194194
chmod +x /app/duckdns-txt

0 commit comments

Comments
 (0)