Trust on First Use (TOFU) - Beckhoff #1553
-
Hi All, Trying to use this library to write a small script that will setup Beckhoff's OPCUA server. Beckhoff uses something called trust on first use, where after an install you can connect without authentication to create a password. I am able get some of a response using client.set_security_string, and leaving the cert and key blank, but it does throw a file not found error when looking for the key. I think if I understand this correctly, that the implementation WONT support a secure connection without a certificate and key? so me trying to automate this TOFU will not work?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
code here
|
Beta Was this translation helpful? Give feedback.
-
I am a bit interested in this since we use a lot beckhoff at work.
btw use the asyncio.run method and the error over looks like path to certificate is wrong |
Beta Was this translation helpful? Give feedback.
-
Thank you all for the help! Through a lot of testing, and your code snippets, I was able to get the Initialization process to work with the following code: The only issue right now is that I cant get it working on
|
Beta Was this translation helpful? Give feedback.
Thank you all for the help!
Through a lot of testing, and your code snippets, I was able to get the Initialization process to work with the following code:
The only issue right now is that I cant get it working on
localhost
, it only works remotely.