mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 16:25:17 +00:00
Pass the read CSR to autosign, not the falcon Request object.
This commit is contained in:
parent
f24ef4024c
commit
3d0a16878d
@ -217,7 +217,7 @@ class RequestListResource(CertificateAuthorityBase):
|
||||
if ca.autosign_allowed(req.env["REMOTE_ADDR"]) and req.get_param("autosign"):
|
||||
try:
|
||||
resp.append_header("Content-Type", "application/x-x509-user-cert")
|
||||
resp.body = ca.sign(req).dump()
|
||||
resp.body = ca.sign(csr).dump()
|
||||
return
|
||||
except FileExistsError: # Certificate already exists, try to save the request
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user