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
Hello,
I want to use python-opcua as a client to connect to an OPC-UA server (UA CPP Server). I want to communicate using the security configuration Basic256Sha256 and Sign&Encrypt. After using the function client.set_security(getattr(security_policies, 'SecurityPolicy' + 'Basic256Sha256'),"/home/ii40asset/klabeak/Python-opcua client/python_client.der","/home/ii40asset/klabeak/Python-opcua client/python_client_key.pem",mode=ua.MessageSecurityMode.SignAndEncrypt)
I see this error in the client: The URI specified in the ApplicationDescription does not match the URI in the certificate.(BadCertificateUriInvalid)
On the server after clicking on Disable ApplicationURI check, the client works perfectly for me.
But I want to enable again ApplicationURI check.
How can I change this ApplicationURI in the client?
Thanks
The text was updated successfully, but these errors were encountered:
look at members of client class, there is one called application_uri for example. But I really do not know what your server wants. Write it down in that bug when you find out
Hello,
I want to use python-opcua as a client to connect to an OPC-UA server (UA CPP Server). I want to communicate using the security configuration Basic256Sha256 and Sign&Encrypt. After using the function
client.set_security(getattr(security_policies, 'SecurityPolicy' + 'Basic256Sha256'),"/home/ii40asset/klabeak/Python-opcua client/python_client.der","/home/ii40asset/klabeak/Python-opcua client/python_client_key.pem",mode=ua.MessageSecurityMode.SignAndEncrypt)
I see this error in the client:
The URI specified in the ApplicationDescription does not match the URI in the certificate.(BadCertificateUriInvalid)
On the server after clicking on Disable ApplicationURI check, the client works perfectly for me.
But I want to enable again ApplicationURI check.
How can I change this ApplicationURI in the client?
Thanks
The text was updated successfully, but these errors were encountered: