comparison Resources/Configuration.json @ 1973:7bd4cb780feb

Option "HttpsVerifyPeers" can be used to connect against self-signed HTTPS certificates
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 11 Apr 2016 15:17:53 +0200
parents e8146c9c28a4
children 9c9332e486ca
comparison
equal deleted inserted replaced
1972:38fb3f524d81 1973:7bd4cb780feb
175 "HttpProxy" : "", 175 "HttpProxy" : "",
176 176
177 // Set the timeout for HTTP requests issued by Orthanc (in seconds). 177 // Set the timeout for HTTP requests issued by Orthanc (in seconds).
178 "HttpTimeout" : 10, 178 "HttpTimeout" : 10,
179 179
180 // Enable the verification of the peers during HTTPS requests. 180 // Enable the verification of the peers during HTTPS requests. This
181 // option must be set to "false" if using self-signed certificates.
182 // Pay attention that setting this option to "false" results in
183 // security risks!
181 // Reference: http://curl.haxx.se/docs/sslcerts.html 184 // Reference: http://curl.haxx.se/docs/sslcerts.html
182 "HttpsVerifyPeers" : true, 185 "HttpsVerifyPeers" : true,
183 186
184 // Path to the CA (certification authority) certificates to validate 187 // Path to the CA (certification authority) certificates to validate
185 // peers in HTTPS requests. From curl documentation ("--cacert" 188 // peers in HTTPS requests. From curl documentation ("--cacert"