Skip to content
Snippets Groups Projects
Commit 3df4bffe authored by Pavel Kácha's avatar Pavel Kácha
Browse files

More coorect mimetype for user certificate

parent 69421bf6
No related branches found
No related tags found
No related merge requests found
...@@ -204,7 +204,7 @@ class CertHandler(ObjectBase): ...@@ -204,7 +204,7 @@ class CertHandler(ObjectBase):
except Exception as e: except Exception as e:
raise self.req.error(message="Processing error", error=403, exc=sys.exc_info()) raise self.req.error(message="Processing error", error=403, exc=sys.exc_info())
self.log.info("Generated.") self.log.info("Generated.")
return [("Content-Type", "application/x-x509-user-cert")], newcert.as_pem() return [("Content-Type", "application/x-pem-file")], newcert.as_pem()
# Order in which the base objects must get initialized # Order in which the base objects must get initialized
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment