Mercurial > hg > orthanc
changeset 4194:2bc49197f806
HTTP client: allow empty CertificateKeyPassword
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 16 Sep 2020 10:22:25 +0200 |
parents | ff24a06b3474 |
children | db38b2ad4c4a 37310bb1cd30 |
files | OrthancFramework/Sources/WebServiceParameters.cpp |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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;