Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The OPC UA client failed connect to a remote UA server,but It can success to a local server. #80

Open
Challen0909 opened this issue May 14, 2018 · 0 comments

Comments

@Challen0909
Copy link

2018-05-14 13:53:12,358 [ERROR] Hylasoft.Opc.Common.OpcException: Failed to validate certificate with error code 2148794368: >>> Certificate has is expired or not yet valid. NotTimeValid: 根据当前系统时钟或签名文件中的时间戳验证时要求的证书不在有效期内。

--- 在 Opc.Ua.CertificateValidator.InternalValidate(X509Certificate2Collection certificates)
--- 在 Opc.Ua.CertificateValidator.Validate(X509Certificate2Collection chain)
在 Hylasoft.Opc.Ua.UaClient.b__41_0(CertificateValidator sender, CertificateValidationEventArgs eventArgs) 位置 C:\Users\siger123\Documents\Siger_CODE\OPC Client开发\opcUA-20180425 - 副本\h-opc-master\h-opc\Ua\UaClient.cs:行号 523
在 Opc.Ua.CertificateValidator.Validate(X509Certificate2Collection chain)
在 Opc.Ua.CertificateValidator.Validate(X509Certificate2 certificate)
在 Opc.Ua.Client.Session.Open(String sessionName, UInt32 sessionTimeout, IUserIdentity identity, IList1 preferredLocales) 在 Opc.Ua.Client.Session.Create(ApplicationConfiguration configuration, ConfiguredEndpoint endpoint, Boolean updateBeforeConnect, Boolean checkDomain, String sessionName, UInt32 sessionTimeout, IUserIdentity identity, IList1 preferredLocales)
在 Hylasoft.Opc.Ua.UaClient.InitializeSession(Uri url) 位置 C:\Users\siger123\Documents\Siger_CODE\OPC Client开发\opcUA-20180425 - 副本\h-opc-master\h-opc\Ua\UaClient.cs:行号 575
在 Hylasoft.Opc.Ua.UaClient.Connect() 位置 C:\Users\siger123\Documents\Siger_CODE\OPC Client开发\opcUA-20180425 - 副本\h-opc-master\h-opc\Ua\UaClient.cs:行号 82
在 Hylasoft.Opc.Cli.Program.Initialize(String serverType, String serverUrl) 位置 C:\Users\siger123\Documents\Siger_CODE\OPC Client开发\opcUA-20180425 - 副本\h-opc-master\h-opc-cli\Program.cs:行号 115
2018-05-14 13:53:18,388 [ERROR] Hylasoft.Opc.Common.OpcException: Failed to validate certificate with error code 2148794368: >>> Certificate has is expired or not yet valid. NotTimeValid: 根据当前系统时钟或签名文件中的时间戳验证时要求的证书不在有效期内。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant