mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-24 02:58:36 +08:00
fix 'cert signed with wrog key' / sec / cert valid / 010
This commit is contained in:
@@ -884,6 +884,13 @@ namespace Opc.Ua
|
||||
status.StatusInformation);
|
||||
}
|
||||
|
||||
case X509ChainStatusFlags.NotSignatureValid:
|
||||
{
|
||||
return ServiceResult.Create(
|
||||
StatusCodes.BadCertificateUntrusted,
|
||||
status.StatusInformation);
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
return ServiceResult.Create(
|
||||
|
||||
Reference in New Issue
Block a user