<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a449d5e34d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a449d5e34d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a449d5e34d/</id><updated>2026-01-06T02:13:37.054000Z</updated><subtitle>Recent posts to CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate</subtitle><entry><title>CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a449d5e34d/?limit=25#a845" rel="alternate"/><published>2026-01-06T02:13:37.054000Z</published><updated>2026-01-06T02:13:37.054000Z</updated><author><name>baott569</name><uri>https://forge.codesys.com/u/baott569/</uri></author><id>https://forge.codesys.come1492611f60fedf5e48ee38a3d23b225fec5255c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Hello everyone&lt;/strong&gt;,&lt;/p&gt;
&lt;p&gt;I am currently using &lt;code&gt;OPC UA in CODESYS&lt;/code&gt; with the security mode &lt;code&gt;BASIC256SHA256&lt;/code&gt; – &lt;code&gt;Signed and Encrypted&lt;/code&gt;.&lt;br/&gt;
The &lt;code&gt;OPC UA Server&lt;/code&gt; is running on an &lt;code&gt;RTE CX&lt;/code&gt; device, and the &lt;code&gt;HMI&lt;/code&gt; is running on another computer.&lt;/p&gt;
&lt;p&gt;I have reviewed many CODESYS documents and successfully established communication when the security mode is set to &lt;code&gt;None&lt;/code&gt; with &lt;code&gt;Anonymous login&lt;/code&gt;. However, when security is enabled, the server does not provide its certificate for the CODESYS HMI client to trust.&lt;/p&gt;
&lt;p&gt;Interestingly, the client can send its certificate to the server, and &lt;code&gt;UAExpert&lt;/code&gt; works normally, but the &lt;code&gt;CODESYS HMI client&lt;/code&gt; does not receive the server certificate.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;I believe I am stuck at step 15 in the following CODESYS guid&lt;img alt="" src="https://"/&gt;e:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Encrypting the Communication of a Data Source OPC UA Client&lt;br/&gt;
&lt;code&gt;https://content.helpme-codesys.com/en/CODESYS%20Communication/_cds_encrypt_communication_data_sources_opc_ua_client.html&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>