Merge branch 'improved_verify' of github.com:explody/lemur into improved_verify
This commit is contained in:
commit
11f2210894
@ -1,4 +1,4 @@
|
|||||||
include setup.py version.py package.json bower.json gulpfile.js README.rst MANIFEST.in LICENSE AUTHORS
|
include setup.py version.py package.json bower.json gulpfile.js README.rst MANIFEST.in LICENSE AUTHORS requirements*.txt
|
||||||
recursive-include lemur/plugins/lemur_email/templates *
|
recursive-include lemur/plugins/lemur_email/templates *
|
||||||
recursive-include lemur/static *
|
recursive-include lemur/static *
|
||||||
global-exclude *~
|
global-exclude *~
|
||||||
|
@ -52,7 +52,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
|
|||||||
if response.status_code > 399:
|
if response.status_code > 399:
|
||||||
metrics.send('cfssl_create_certificate_failure', 'counter', 1)
|
metrics.send('cfssl_create_certificate_failure', 'counter', 1)
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"Error revoking cert. Please check your CFSSL API server")
|
"Error creating cert. Please check your CFSSL API server")
|
||||||
response_json = json.loads(response.content.decode('utf_8'))
|
response_json = json.loads(response.content.decode('utf_8'))
|
||||||
cert = response_json['result']['certificate']
|
cert = response_json['result']['certificate']
|
||||||
parsed_cert = parse_certificate(cert)
|
parsed_cert = parse_certificate(cert)
|
||||||
|
Loading…
Reference in New Issue
Block a user