Open JFKane opened 6 years ago
no idea.... this definitely should work. What happens if you do not set any security policy and let everything as defualt?
I am not sure, but if you select one security option in the server and client side let's say:
server.set_security_policy([ua.SecurityPolicyType.Basic256_SignAndEncrypt]), then the uaExpert as a client should respond properly.
Thank you for the suggestions, I tried all scenarios (no security policy, changing UA Expert configuration etc.) but it always returns:
18:04:52.416 | Server Node | | Connecting failed with error 'BadConfigurationError'
18:04:52.401 | Server Node | | Error 'BadConfigurationError' was returned during ActivateSession
18:04:52.358 | Server Node | | The server returned no certificate, all certificate checks will be skipped.
18:04:52.354 | Server Node | | Used UserTokenType: Anonymous
18:04:48.936 | Server Node | | The server does not support the configured security policy 'http://opcfoundation.org/UA/SecurityPolicy#None'.
18:04:48.936 | Server Node | | ApplicationUri: ''
I'm guessing the problem is not the configuration itself but somewhere else, unfortunately I'm kinda stuck...
I got the same Issue. Did you find any solution? =)
security_policy = [
ua.SecurityPolicyType.NoSecurity,
ua.SecurityPolicyType.Basic256Sha256_SignAndEncrypt,
ua.SecurityPolicyType.Basic256Sha256_Sign
]
server.set_security_policy(security_policy)
policyIDs = [
"Anonymous", "Basic256Sha256", "Username"
]
server.set_security_IDs(policyIDs)
https://github.com/AndreasHeine/PythonOpcUaServer-for-Simatic-S7-1500-OpcUaClient https://github.com/AndreasHeine/SecurePythonOpcUaServer https://github.com/AndreasHeine/SecurePythonOpcUaClient
Hi all,
I want to set a Beaglebone Black as a server sending sensor data (right now it's just random numbers) to my laptop over OPC UA and reading it with UA Expert (OPC Client)
Here is my server.py
However, everytime I try to connect UA Expert to the server I get
The server does not support the configured security policy 'http://opcfoundation.org/UA/SecurityPolicy#None'
I've tried enabling different configurations on UA Expert (Basic128, Basic256 etc.) but always the same error. Any ideas what could be the problem?
Might be related to #703