summaryrefslogtreecommitdiff
path: root/tools/certtools.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-08-20 17:35:25 +0200
committerLinus Nordberg <linus@nordu.net>2015-08-20 17:35:25 +0200
commit03b95596ecc425cfbb0d29d40ba9accbc9e67729 (patch)
tree500fc13e4f7731444b80bef5e93570dea21f36cd /tools/certtools.py
parentb9694d350c5a9db0730772334b65b13532eec545 (diff)
Follow internal HTTP API URL changes.internal-api
Diffstat (limited to 'tools/certtools.py')
-rw-r--r--tools/certtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/certtools.py b/tools/certtools.py
index dfd5b24..307a728 100644
--- a/tools/certtools.py
+++ b/tools/certtools.py
@@ -308,7 +308,7 @@ def http_request(url, data=None, key=None, verifynode=None, publickeydir="."):
def get_signature(baseurl, data, key=None):
try:
params = json.dumps({"plop_version":1, "data": base64.b64encode(data)})
- result = http_request(baseurl + "ct/signing/sth", params, key=key)
+ result = http_request(baseurl + "plop/v1/signing/sth", params, key=key)
parsed_result = json.loads(result)
return base64.b64decode(parsed_result.get(u"result"))
except urllib2.HTTPError, e: