Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add policy URI to each endpoint token's SecurityPolicyUri #1720

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

haotruongnhat
Copy link
Contributor

The opc-ua client backend open62541 scans for endpoint tokens' security URI on connection. This PR to resolve the case that open62541 to skip token which is missing that URI.

@oroulet oroulet merged commit 4711121 into FreeOpcUa:master Oct 16, 2024
5 checks passed
@cziebuhr
Copy link
Contributor

According to https://reference.opcfoundation.org/Core/Part4/v105/docs/7.42, the security policy for the SecureChannel is used if this value is null or empty, so this should not have been an issue here. But I will report other findings in that area in the next days.

@haotruongnhat
Copy link
Contributor Author

@cziebuhr The UAExpert software uses the official OPC-UA backend, which does follow the document stated above. Therefore, the connection works fine with this tool.

However, in the open-sourced open62541 backend, it checks only the securityPolicyUri in each available token, and skips the token if it is null or empty. It's quite tricky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants