Skip to content

Server sign and encrypt fails after connection setup and login #535

Answered by leonardo1717
leonardo1717 asked this question in Q&A
Discussion options

You must be logged in to vote

The error is all mine.

This line

server.set_security_policy([ua.SecurityPolicyType.Basic256Sha256_SignAndEncrypt], permission_ruleset=SimpleRoleRuleset)

needs to be changed into

server.set_security_policy([ua.SecurityPolicyType.Basic256Sha256_SignAndEncrypt], permission_ruleset=SimpleRoleRuleset())

and then ..... it works!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by swamper123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant