关于OPCUA 协议 Bad Certificate Untrusted问题的解决
来源:互联网 发布:知乎 勇士 编辑:程序博客网 时间:2024/06/08 00:20
背景:
在windows环境下运行UA demo server 和 UAexpert
https://www.unified-automation.com/downloads/opc-ua-development.html
https://www.unified-automation.com/downloads/opc-ua-clients.html
在建立安全连接时,出现
15:47:44.164 | Server Node | UaServerCpp@coolwaterld-DP ... | Connecting failed with error 'BadSecurityChecksFailed'
15:47:44.164 | Server Node | UaServerCpp@coolwaterld-DP ... | Error 'BadSecurityChecksFailed' was returned during OpenSecureChannel
15:47:44.139 | Server Node | UaServerCpp@coolwaterld-DP ... | Used UserTokenType: Anonymous
15:47:44.139 | Server Node | UaServerCpp@coolwaterld-DP ... | ApplicationUri: 'urn:coolwaterld-DP:UnifiedAutomation:UaServerCpp'
15:47:44.139 | Server Node | UaServerCpp@coolwaterld-DP ... | Security policy: 'http://opcfoundation.org/UA/SecurityPolicy#Basic256'
15:47:44.139 | Server Node | UaServerCpp@coolwaterld-DP ... | Endpoint: 'opc.tcp://coolwaterld-DP:48010'
表示需要服务器信任客户端
http://documentation.unified-automation.com/uasdkcpp/1.5.2/html/L2UaDiscoveryConnect.html
the client can attempt to create a secure channel with the server, sending along its Application Instance Certificate (including the public key of the client). This first connection attempt will be rejected, because the server doesn’t trust the client yet.
C:\ProgramData\UnifiedAutomation\UaSdkCppBundleEval\pkiserver\rejected
拷贝****.der到
C:\ProgramData\UnifiedAutomation\UaSdkCppBundleEval\pkiserver\trusted\certs
- 关于OPCUA 协议 Bad Certificate Untrusted问题的解决
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题
- 解决Debug certificate expired的问题 .
- 解决Debug certificate expired的问题 .
- 解决Debug certificate expired的问题
- 解决Python certificate verify failed的问题
- 解决Debug certificate expired问题
- 解决Eclipse编译Debug certificate expired的问题
- 关于 $'\r': 未找到命令的解决(bad interpreter )
- 解决 TortoiseGit 诡异的 Bad file number 问题
- 解决 TortoiseGit 诡异的 Bad file number 问题
- JTAG出错Bad JTAG communication问题的解决
- 解决 TortoiseGit 诡异的 Bad file number 问题
- 解决 TortoiseGit 诡异的 Bad file number 问题
- 解决Nginx 400 Bad Request问题的一些思路
- 从Facebook AI Research开源fastText谈起文本分类:词向量模性、深度表征和全连接
- Android Studio 常用快捷键总结
- Effective Item 21: 当你必须返回一个对象时不要试图返回一个引用
- 大家好!我是新来的
- android studio build dependencies依赖的库
- 关于OPCUA 协议 Bad Certificate Untrusted问题的解决
- Android中的动画(二)LayoutAnimation
- Android学习(八)AutoCompleteTextView控件
- 编译安装git
- 《软件随想录-Joel on Software》书摘
- 推荐算法——基于用户的协同过滤算法
- TOJ 4079 find the princessII(简单博弈)
- 戴尔服务器设置的来电自动开机,如何取消这个设置??
- RabbitMQ (三)工作队列