From 13369804a0b8d7a24ff6a6e3655a47ebe7491010 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 14 Jul 2024 18:49:06 -0400 Subject: [PATCH] Improve documentation for `--ssl` option Also move it to the top of the sample config file due to its importance. --- ddclient.conf.in | 8 ++++++-- ddclient.in | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ddclient.conf.in b/ddclient.conf.in index 22b5d0e..65a9650 100644 --- a/ddclient.conf.in +++ b/ddclient.conf.in @@ -16,13 +16,17 @@ ## are mentioned here. ## ###################################################################### + +## Use encryption (TLS) when the scheme (either "http://" or "https://") is +## missing from a URL. Defaults to "no" for compatibility reasons, but you are +## strongly encouraged to set this to "yes". +ssl=yes + daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=@runstatedir@/ddclient.pid # record PID in file. -ssl=yes # use ssl-support. Works with - # ssl-library # postscript=script # run script after updating. The # new IP is added as argument. # diff --git a/ddclient.in b/ddclient.in index 111516a..82ace95 100755 --- a/ddclient.in +++ b/ddclient.in @@ -1259,7 +1259,7 @@ my @opt = ( "", ["options", "=s", "--options==[,=,...]\n : optional per-service arguments (see below)"], "", - ["ssl", "!", "--{no}ssl : do updates over encrypted SSL connection"], + ["ssl", "!", '--{no}ssl : use encryption (TLS) when the scheme (either "http://" or "https://") is missing from a URL'], ["ssl_ca_dir", "=s", "--ssl_ca_dir= : look in for certificates of trusted certificate authorities (default: auto-detect)"], ["ssl_ca_file", "=s", "--ssl_ca_file= : look at for certificates of trusted certificate authorities (default: auto-detect)"], ["fw-ssl-validate", "!", "--{no}fw-ssl-validate : Validate SSL certificate when retrieving IP address from firewall"],