Closes #246
This commit is contained in:
parent
a30b8b21e4
commit
576265e09c
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue