Commit 632ccf49 authored by Vincent Pelletier's avatar Vincent Pelletier

wsgi: Use a more precise Content-Type when providing the CA certificate.

parent 90a9b987
......@@ -314,7 +314,7 @@ class Application(object):
raise NotFound
if crt_id == 'ca.crt.pem':
data = context.getCACertificate()
content_type = 'application/pkix-cert'
content_type = 'application/x-x509-ca-cert'
elif crt_id == 'ca.crt.json':
data = json.dumps(context.getValidCACertificateChain())
content_type = 'application/json'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment