# HG changeset patch # User Alain Mazy # Date 1600244545 -7200 # Node ID 2bc49197f806de908894652352085027939fdbeb # Parent ff24a06b3474de6cacacf3d77bd3d78752ddf882 HTTP client: allow empty CertificateKeyPassword diff -r ff24a06b3474 -r 2bc49197f806 OrthancFramework/Sources/WebServiceParameters.cpp --- a/OrthancFramework/Sources/WebServiceParameters.cpp Tue Sep 15 19:34:22 2020 +0200 +++ b/OrthancFramework/Sources/WebServiceParameters.cpp Wed Sep 16 10:22:25 2020 +0200 @@ -140,9 +140,7 @@ if (certificateKeyPassword.empty()) { - throw OrthancException( - ErrorCode_BadFileFormat, - "The password for the HTTPS certificate is not provided: " + certificateFile); + LOG(WARNING) << "No password specified for certificate key file: " << certificateKeyFile; } certificateFile_ = certificateFile;