Mercurial > hg > orthanc
diff OrthancFramework/Sources/WebServiceParameters.cpp @ 4194:2bc49197f806
HTTP client: allow empty CertificateKeyPassword
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 16 Sep 2020 10:22:25 +0200 |
parents | bf7b9edf6b81 |
children | b30a8de92ad9 |
line wrap: on
line diff
--- 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;