最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ - OPC Ua Client with open62541 v1.4.11.1 Client certificate without SubjectAltName - Stack Overflow

programmeradmin0浏览0评论

I have an issue with my OPC UA client implementation using open62541 v1.4.11.1. I have to connect to a OPC UA server with Security Policy: Basic256Sha256 and Message Security Mode: Sign & Encrypt. For Authentication I use a certificate and private key, but the certificate supplied by the OPC UA server manufacturer doesn't contain a SubjectAltName that my openssl wants to verify against the ApplicationUri.This causes the connection to fail. When I try to use UA_CertificateVerification_AcceptAll() for the UA_ClientConfig.certificateVerification, the connection still fails with the error message: Client Status: ChannelState: Open, SessionState: Closed, ConnectStatus: BadCertificateUriInvalid. As I got it, the AcceptAll should disable that check. Can someone help me?

发布评论

评论列表(0)

  1. 暂无评论