diff Resources/Configuration.json @ 1533:0011cc99443c

improving HTTPS support
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Aug 2015 17:52:10 +0200
parents 4f8c8ef114db
children 95b3b0260240
line wrap: on
line diff
--- a/Resources/Configuration.json	Wed Aug 12 15:04:12 2015 +0200
+++ b/Resources/Configuration.json	Wed Aug 12 17:52:10 2015 +0200
@@ -237,5 +237,15 @@
   // Enable HTTP compression to improve network bandwidth utilization,
   // at the expense of more computations on the server. Orthanc
   // supports the "gzip" and "deflate" encodings.
-  "HttpCompressionEnabled" : true
+  "HttpCompressionEnabled" : true,
+
+  // Enable the verification of the peers during HTTPS requests.
+  "HttpsVerifyPeers" : true,
+
+  // Path to the certificates to validate peers in HTTPS
+  // requests. From curl documentation: "Tells curl to use the
+  // specified certificate file to verify the peers. The file may
+  // contain multiple CA certificates. The certificate(s) must be in
+  // PEM format."
+  "HttpsVerifyCertificates" : ""
 }