comparison OrthancServer/OrthancInitialization.cpp @ 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 33d34bc4ac15
comparison
equal deleted inserted replaced
1533:0011cc99443c 1534:95b3b0260240
314 314
315 // Read the user-provided configuration 315 // Read the user-provided configuration
316 ReadGlobalConfiguration(configurationFile); 316 ReadGlobalConfiguration(configurationFile);
317 317
318 HttpClient::GlobalInitialize(GetGlobalBoolParameterInternal("HttpsVerifyPeers", true), 318 HttpClient::GlobalInitialize(GetGlobalBoolParameterInternal("HttpsVerifyPeers", true),
319 GetGlobalStringParameterInternal("HttpsVerifyCertificates", "")); 319 GetGlobalStringParameterInternal("HttpsCACertificates", ""));
320 320
321 RegisterUserMetadata(); 321 RegisterUserMetadata();
322 RegisterUserContentType(); 322 RegisterUserContentType();
323 323
324 DicomServer::InitializeDictionary(); 324 DicomServer::InitializeDictionary();