Mercurial > hg > orthanc
comparison Resources/Configuration.json @ 1534:95b3b0260240
Options to validate peers against CA certificates in HTTPS requests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Aug 2015 12:42:32 +0200 |
parents | 0011cc99443c |
children | ba0226474e22 |
comparison
equal
deleted
inserted
replaced
1533:0011cc99443c | 1534:95b3b0260240 |
---|---|
238 // at the expense of more computations on the server. Orthanc | 238 // at the expense of more computations on the server. Orthanc |
239 // supports the "gzip" and "deflate" encodings. | 239 // supports the "gzip" and "deflate" encodings. |
240 "HttpCompressionEnabled" : true, | 240 "HttpCompressionEnabled" : true, |
241 | 241 |
242 // Enable the verification of the peers during HTTPS requests. | 242 // Enable the verification of the peers during HTTPS requests. |
243 // Reference: http://curl.haxx.se/docs/sslcerts.html | |
243 "HttpsVerifyPeers" : true, | 244 "HttpsVerifyPeers" : true, |
244 | 245 |
245 // Path to the certificates to validate peers in HTTPS | 246 // Path to the CA (certification authority) certificates to validate |
246 // requests. From curl documentation: "Tells curl to use the | 247 // peers in HTTPS requests. From curl documentation ("--cacert" |
247 // specified certificate file to verify the peers. The file may | 248 // option): "Tells curl to use the specified certificate file to |
248 // contain multiple CA certificates. The certificate(s) must be in | 249 // verify the peers. The file may contain multiple CA |
249 // PEM format." | 250 // certificates. The certificate(s) must be in PEM format." |
250 "HttpsVerifyCertificates" : "" | 251 "HttpsCACertificates" : "" |
251 } | 252 } |