From 7f119e95e1998080dd97e42f46b36553bc41adf7 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Fri, 11 Sep 2015 08:27:34 -0700 Subject: [PATCH] making the verisign urls more generic --- lemur/plugins/lemur_verisign/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/plugins/lemur_verisign/plugin.py b/lemur/plugins/lemur_verisign/plugin.py index 930b2574..6f4cd8b4 100644 --- a/lemur/plugins/lemur_verisign/plugin.py +++ b/lemur/plugins/lemur_verisign/plugin.py @@ -147,7 +147,7 @@ class VerisignIssuerPlugin(IssuerPlugin): :param issuer_options: :return: :raise Exception: """ - url = current_app.config.get("VERISIGN_URL") + '/enroll' + url = current_app.config.get("VERISIGN_URL") + '/rest/services/enroll' data = process_options(issuer_options) data['csr'] = csr @@ -177,6 +177,6 @@ class VerisignIssuerPlugin(IssuerPlugin): :return: """ - url = current_app.config.get("VERISIGN_URL") + '/getTokens' + url = current_app.config.get("VERISIGN_URL") + '/rest/services/getTokens' response = self.session.post(url, headers={'content-type': 'application/x-www-form-urlencoded'}) return handle_response(response.content)['Response']['Order']