diff --git a/src/ua_securechannel.c b/src/ua_securechannel.c index 75698737f27..0de78dfc254 100644 --- a/src/ua_securechannel.c +++ b/src/ua_securechannel.c @@ -73,6 +73,8 @@ hideErrors(UA_TcpErrorMessage *const error) { case UA_STATUSCODE_BADCERTIFICATEUNTRUSTED: case UA_STATUSCODE_BADCERTIFICATEREVOKED: case UA_STATUSCODE_BADCERTIFICATEISSUERREVOKED: + case UA_STATUSCODE_BADCERTIFICATECHAININCOMPLETE: + case UA_STATUSCODE_BADCERTIFICATEISSUERUSENOTALLOWED: error->error = UA_STATUSCODE_BADSECURITYCHECKSFAILED; error->reason = UA_STRING_NULL; break;