Security policy in OPCUA #1244
Unanswered
vidyarao123
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Do you have a certificate and a privatekey for you application? u cant run sign or sign and encrypt without it!!! |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, I did search on google on how to generate these but it was not successful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have included all 3 levels of security in my code. None, Sign, Sign and Encrypt.
server = Server()
url = "opc.tcp://127.0.0.1:4840"
server.set_endpoint(url)
security_policy = [ua.SecurityPolicyType.NoSecurity, ua.SecurityPolicyType.Basic256Sha256_SignAndEncrypt, ua.SecurityPolicyType.Basic256Sha256_Sign]
server.set_security_policy(security_policy)
But when I browse through UA Expert. Only none option displays. I am not able to see the other two security policies (Sign , Sign and Encrypt). Can somebody tell me if I am missing anything here.
Beta Was this translation helpful? Give feedback.
All reactions