summaryrefslogtreecommitdiff
path: root/icktool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-04 21:23:13 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-04 21:39:04 +0300
commite5c43da6f0dc196b4622f7af60ef08ad7c288a45 (patch)
tree6cd28df3b9fdaace9c378574af271bf73ecb23fd /icktool
parent2ab9c41318f3a296866ca5d9858f43cfc5dbf35e (diff)
downloadick2-e5c43da6f0dc196b4622f7af60ef08ad7c288a45.tar.gz
Fix: icktool --verify-tls
Diffstat (limited to 'icktool')
-rwxr-xr-xicktool8
1 files changed, 5 insertions, 3 deletions
diff --git a/icktool b/icktool
index 625d9b4..a0ef14e 100755
--- a/icktool
+++ b/icktool
@@ -77,7 +77,9 @@ class Icktool(cliapp.Application):
self.settings.boolean(
['verify-tls'],
- 'verify TLS certifcate signature? default is yes',
+ 'verify API provider TLS certificate '
+ '(default is verify, use --no-verify-tls)',
+ default=True,
)
self.settings.string(
@@ -413,7 +415,7 @@ class API:
def __init__(self):
self._url = None
self._token = None
- self._verify = True
+ self._verify = None
def set_url(self, url):
self._url = url
@@ -487,7 +489,7 @@ class BlobAPI:
def __init__(self):
self._url = None
self._token = None
- self._verify = True
+ self._verify = None
def set_url(self, url):
self._url = url