Skip to content

Commit

Permalink
Fix incorrect certificate validation error message
Browse files Browse the repository at this point in the history
fixes #12475
  • Loading branch information
gunnarbeutner committed Aug 18, 2016
1 parent 6629277 commit 730364b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/remote/apilistener.cpp
Expand Up @@ -372,8 +372,8 @@ void ApiListener::NewClientHandlerInternal(const Socket::Ptr& client, const Stri
return;
} else if (!verify_ok) {
Log(LogWarning, "ApiListener")
<< "Peer certificate for endpoint '" << hostname
<< "' is not signed by the certificate authority.";
<< "Certificate validation failed for endpoint '" << hostname
<< "': " << tlsStream->GetVerifyError();
return;
}
}
Expand Down

0 comments on commit 730364b

Please sign in to comment.