You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody,
this is my first post on GitHub, so I hope I am doing it right posting it here in the Q&A section of discussions.
I am trying to implement an OPC UA-Client with encryption with asyncio/asyncua.
Here is my code:
import asyncio
from asyncua import Client, ua
I always run into the error of:
An unexpected error occurred: 'str' object has no attribute 'URI'.
So i looked up the method Client.set_security and found, that URI is found at the server_certificate.
So I went to the OPC UA-server and there I copied it certificate.der file and tried to use it. But then this happens:
I've read about the 2nd error but I can't change the certificate, because I am not the issuer / it is a third party tool (Ignition OPC UA Server).
Anyone here who could help me with this? Thanks in advance and have a great day!
Beta Was this translation helpful? Give feedback.
All reactions