BadTcpEndpointUrlInvalid error after executing set_security_string #812
Unanswered
Max-lab-prog
asked this question in
Q&A
Replies: 1 comment 2 replies
-
could you post a simplified example? |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hi,
I want to connect to an encrypted OPC UA production server. To establish a connection I use the function
set_security_string
. I create the necessary certificate and key as described in the example.The
serverURL
,username
,password
,SecurityPolicy
andSecurityMode
are all correct.If I now execute the script, the error shown as
set_security_string
is executed.The OPC UA server is set to accept every incoming certificate automatically. However, the certificate I created is not displayed.
I can't figure out the error and when I try to connect to the Prosys Simulation Server with the same settings, it works fine.
For the creation of the certificate I have chosen
subjectAltName = URI:urn:freeopcua:client
and for the client
client.application_uri = "urn:freeopcua:client"
What am I doing wrong?
Thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions