OPC UA Trusting Certificates
Hello everyone,
Currently I am trying to set up an OPC UA Server on the PLCNext AXC F 2152 controller. Following the tutorial with the UAExpert Client everything seems to be working.
Now i am trying to apply this with another Client. I am using the WinCC Runtime Advanced client in Siemens Tia Portal to connect the HMI Tags over an OPC UA connection. With a simulated server, this worked, as i could easily select incoming certificates from the Client and trust them. Now i am having difficulties with doing this in de PLCnext environment. I can trust the certificate manually in the WBM page of the controller, but the error code Decode Error shows up when implementing the certificate in PEM format.
Is there another way to trust the incoming certificates? Or do you have to do this manually?
Kind regards,
Coen
Comments
Hi Coen,
When you used the OPC UA client from UaExpert, you didn't need to add any client certificates to the OPC UA server (i.e. the AXC F 2152).
So, I would expect that this would be the same with the OPC UA client from Siemens - you shouldn't need to add any client certificates to the OPC UA server. But you might need to trust the Server certificate in the Siemens client, like you do with the UaExpert client.
Can you give more details about the procedure you are using with the Siemens OPC UA client, and what error message(s) you are seeing in the Siemens client?
~ Martin.
Hi Martin,
Thanks for your reply.
Indeed the Client seemed to be the issue in regard to making the OPC UA connection between the PLC and HMI panel. In Siemens you have to manually move certificates to certain folders in the HMI panel, so they are trusted.
I have done this and the connection is now working.
Kind regards,
Coen
Could you maybe explain which certificates you moved because I am working with a Phoenix AXC F 1152 PLC and do also want to connect to a Siemens Tia Portal application but did not get this working yet.
Thanks,
Joost
Hi Coen and jmerks,
I have the exact same issue.
Did you find a solution ?
Thanks