<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to OPC UA Server - Basic256Sha256</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/</id><updated>2023-03-20T17:26:32.138000Z</updated><subtitle>Recent posts to OPC UA Server - Basic256Sha256</subtitle><entry><title>OPC UA Server - Basic256Sha256</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/?limit=25#be0d" rel="alternate"/><published>2023-03-20T17:26:32.138000Z</published><updated>2023-03-20T17:26:32.138000Z</updated><author><name>vitorguedes</name><uri>https://forge.codesys.com/u/vitorguedes/</uri></author><id>https://forge.codesys.come77017d70063ecd45d6b01e3584809f48a985070</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I was using an old version of CodeSys, and adding this properties at CODESYSControl_user.cfg worked.&lt;/p&gt;
&lt;p&gt;But I updated the CodeSys version, and the error returned. &lt;br/&gt;
In this version the &lt;span&gt;[CmpOPCUAServer]&lt;/span&gt; can be configured inside the software, correctly?&lt;br/&gt;
Is my configuration right (attachement) or I need to do something else?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA Server - Basic256Sha256</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/?limit=25#5000" rel="alternate"/><published>2023-02-03T00:08:42.935000Z</published><updated>2023-02-03T00:08:42.935000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.comdf81cba7e06cb07f0136d933f95eacc5e93ee99a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not sure what settings you have, but maybe the server isn't set up correctly?  For example, check /etc/CODESYSControl_user.cfg (Linux) to make sure these items are in place:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[CmpOPCUAServer]&lt;/span&gt;&lt;br/&gt;
SECURITY.CommunicationMode=SIGNED_AND_ENCRYPTED&lt;br/&gt;
SECURITY.Activation=ACTIVATED&lt;br/&gt;
NetworkPort=4843&lt;/p&gt;
&lt;p&gt;NetworkPort is optional&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC UA Server - Basic256Sha256</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/111a1fa99e/?limit=25#d465" rel="alternate"/><published>2023-02-02T12:45:51.321000Z</published><updated>2023-02-02T12:45:51.321000Z</updated><author><name>vitorguedes</name><uri>https://forge.codesys.com/u/vitorguedes/</uri></author><id>https://forge.codesys.com21545c348e938ba69873c76d25f4e4fb6d803426</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am having some troubles connecting  my opc ua client to CodeSys Server with Sign or Sign &amp;amp; Encrypt (Basic256Sha256).&lt;br/&gt;
If I connect with None and None it works correctly.&lt;/p&gt;
&lt;p&gt;When I first execute it shows an error BadSecurityChecksFailed, so I go to the CodeSys Server and trust my certificate.&lt;br/&gt;
After that, when I try to connect again the servers return an BadInvalidArgument. &lt;br/&gt;
Using WireShark I can see that I am saying something null where CodeSys does not accept, but I can find what I am sending wrong.&lt;/p&gt;
&lt;p&gt;I am using this opc ua client &lt;a href="https://github.com/nauful/LibUA" rel="nofollow"&gt;https://github.com/nauful/LibUA&lt;/a&gt;&lt;br/&gt;
It works fine for others opc ua server.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>