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?
c++ - OPC Ua Client with open62541 v1.4.11.1 Client certificate without SubjectAltName - Stack Overflow
评论列表(0)
- 暂无评论