This commit is contained in:
kevgliss 2016-04-01 09:19:36 -07:00
parent a30b8b21e4
commit 576265e09c
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ def mint(issuer_options):
if not issuer_options.get('csr'):
csr, private_key = create_csr(issuer_options)
else:
csr = issuer_options.get('csr')
csr = str(issuer_options.get('csr'))
private_key = None
issuer_options['creator'] = g.user.email

View File

@ -232,7 +232,7 @@ class CertificatesList(AuthenticatedResource):
"owner": "bob@example.com",
"description": "test",
"selectedAuthority": "timetest2",
"csr",
"csr": "----BEGIN CERTIFICATE REQUEST-----...",
"authority": {
"body": "-----BEGIN...",
"name": "timetest2",