admin管理员组

文章数量:1345466

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?

本文标签: cOPC Ua Client with open62541 v14111 Client certificate without SubjectAltNameStack Overflow