making the verisign urls more generic
This commit is contained in:
parent
bf957d2509
commit
7f119e95e1
|
@ -147,7 +147,7 @@ class VerisignIssuerPlugin(IssuerPlugin):
|
||||||
:param issuer_options:
|
:param issuer_options:
|
||||||
:return: :raise Exception:
|
: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 = process_options(issuer_options)
|
||||||
data['csr'] = csr
|
data['csr'] = csr
|
||||||
|
@ -177,6 +177,6 @@ class VerisignIssuerPlugin(IssuerPlugin):
|
||||||
|
|
||||||
:return:
|
: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'})
|
response = self.session.post(url, headers={'content-type': 'application/x-www-form-urlencoded'})
|
||||||
return handle_response(response.content)['Response']['Order']
|
return handle_response(response.content)['Response']['Order']
|
||||||
|
|
Loading…
Reference in New Issue