Issue when authenticating with certificates. "can't find X509IdentityToken in endpoint description"
Posted: 10 Mar 2022, 14:32
When connecting with UaExpert (Version:1.4.18 314 / 324c9019758bf5d541906845221499d0d87a80a4) to an open62541 server I get the follwing error(s):
All related files to reproduce this issue can be found in this GitHub gist: https://gist.github.com/vembacher/ea697b15cd718e0d156ab1070dd5e0c2
It contains the following:
Additionally, I have the issue that I cannot select certificate authentication and can only use this authentication method when selecting the 'Advanced' tab. I think this might be related.
Code: Select all
13:22:12.628 | Server Node | open62541-based OPC UA Appl... | Endpoint: 'opc.tcp://localhost:4840/'
13:22:12.628 | Server Node | open62541-based OPC UA Appl... | Security policy: 'http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256'
13:22:12.629 | Server Node | open62541-based OPC UA Appl... | ApplicationUri: 'urn:open62541.server.application'
13:22:12.629 | Server Node | open62541-based OPC UA Appl... | Used UserTokenType: Certificate
13:22:12.669 | General | | Error: UaSessionPrivate::activateSession - can't find X509IdentityToken in endpoint description
13:22:12.669 | Server Node | open62541-based OPC UA Appl... | Error 'BadConfigurationError' was returned during ActivateSession
13:22:12.669 | Server Node | open62541-based OPC UA Appl... | Connection status of server 'open62541-based OPC UA Application' changed to 'Disconnected'.
It contains the following:
- a minimum working example (server code, build script, etc.)
- UaExpert log (same as above)
- the server log
Additionally, I have the issue that I cannot select certificate authentication and can only use this authentication method when selecting the 'Advanced' tab. I think this might be related.