commit
a512b82196
|
@ -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']
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -39,7 +39,7 @@ install_requires = [
|
||||||
'six==1.9.0',
|
'six==1.9.0',
|
||||||
'gunicorn==19.3.0',
|
'gunicorn==19.3.0',
|
||||||
'pycrypto==2.6.1',
|
'pycrypto==2.6.1',
|
||||||
'cryptography==1.0',
|
'cryptography==1.0.1',
|
||||||
'pyopenssl==0.15.1',
|
'pyopenssl==0.15.1',
|
||||||
'pyjwt==1.0.1',
|
'pyjwt==1.0.1',
|
||||||
'xmltodict==0.9.2',
|
'xmltodict==0.9.2',
|
||||||
|
|
Loading…
Reference in New Issue