baott569 - 2 days ago

Hello everyone,

I am currently using OPC UA in CODESYS with the security mode BASIC256SHA256 – Signed and Encrypted.
The OPC UA Server is running on an RTE CX device, and the HMI is running on another computer.

I have reviewed many CODESYS documents and successfully established communication when the security mode is set to None with Anonymous login. However, when security is enabled, the server does not provide its certificate for the CODESYS HMI client to trust.

Interestingly, the client can send its certificate to the server, and UAExpert works normally, but the CODESYS HMI client does not receive the server certificate.

Can anyone help clarify what I might be missing? I have been stuck on this issue for three days. If I missed or misconfigured any step, please let me know.

I believe I am stuck at step 15 in the following CODESYS guide:

Encrypting the Communication of a Data Source OPC UA Client
https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_encrypt_communication_data_sources_opc_ua_client.html

Thank you very much.

 
πŸ‘
1