X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/5395e7dcae4d4263e5d84845097757dec5518bbf..a163f82aa9483c77caf55cf9c857051254306eed:/client-scripts/dyn-ns-client?ds=sidebyside diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client index 5006fbd..78a6854 100755 --- a/client-scripts/dyn-ns-client +++ b/client-scripts/dyn-ns-client @@ -29,7 +29,7 @@ VERBOSE_CHANGE = 1 VERBOSE_FULL = 2 def sslContext(config): - if config['DEFAULT']['ssl_check_cert'].lower() in ('0', 'false', 'no'): + if config['DEFAULT'].get('ssl_check_cert', 'yes').lower() in ('0', 'false', 'no'): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) return context else: