diff --git a/license/server/WebAPI.cpp b/license/server/WebAPI.cpp index 7bf8d85..dd84d68 100644 --- a/license/server/WebAPI.cpp +++ b/license/server/WebAPI.cpp @@ -197,14 +197,15 @@ void WebStatistics::initialize_client(const std::shared_ptr(); options->type = pipes::SSL::SERVER; options->context_method = TLS_method(); options->free_unused_keypairs = false; /* we dont want our keys get removed */ options->default_keypair({this->ssl->privateKey, this->ssl->certificate}); - if(!client->pipe_ssl->initialize(options)) { - logError(LOG_LICENSE_WEB, "[{}][SSL] Failed to setup ssl! Disconnecting client", client->client_prefix()); + if(!client->pipe_ssl->initialize(options, error)) { + logError(LOG_LICENSE_WEB, "[{}][SSL] Failed to setup ssl ({})! Disconnecting client", client->client_prefix(), error); this->close_connection(client); } }