<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to accept only comms with certificates in OPC-UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c4245ac38/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c4245ac38/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8c4245ac38/</id><updated>2020-02-27T14:40:47.057000Z</updated><subtitle>Recent posts to How to accept only comms with certificates in OPC-UA server</subtitle><entry><title>How to accept only comms with certificates in OPC-UA server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8c4245ac38/?limit=25#b4ef" rel="alternate"/><published>2020-02-27T14:40:47.057000Z</published><updated>2020-02-27T14:40:47.057000Z</updated><author><name>garmenmikel</name><uri>https://forge.codesys.com/u/garmenmikel/</uri></author><id>https://forge.codesys.com83b027c4ca3ee21cb8ac9c46b0d63b6f2988dafd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would like to create a secure communication in OPC-UA between the server (Codesys) and the client (UaExpert). The OPC-UA server has been created in a Raspberry Pi after following the steps of the page &lt;a class="" href="https://help.codesys.com/webapp/_cds_runtime_opc_ua_server;product=codesys;version=3.5.13.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_ru ... n=3.5.13.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I created a certificate for the CODESYS OPC UA server, and then I configured an encrypted connection with the UaExpert client (Basic256Sha256 + Sign&amp;amp;Encrypt). Until here, everything has worked correctly. &lt;/p&gt;
&lt;p&gt;But, I want the client, to be able to communicate with the server, have to use the certificate mandatorily.&lt;br/&gt;
In UaExpert, when I pulse Discovery and I add the direction of my OPC-UA server, it appears that I can access my OPC-UA server with three types of security:&lt;br/&gt;
    None - None (uatcp-uasc-uabinary)&lt;br/&gt;
    Basic256Sha256 - Sign (uatcp-uasc-uabinary)&lt;br/&gt;
    Basic256Sha256 - Sign &amp;amp; Encrypt (uatcp-uasc-uabinary)&lt;/p&gt;
&lt;p&gt;In the secure configuration Basic256Sha256 - Sign &amp;amp; Encrypt, I have to trust the client certificate in Codesys --&amp;gt; View --&amp;gt; Security Screen --&amp;gt; Devices. And I like it. But then, in UaExpert if I try to connect using None - None configuration, I can access to the server freely. &lt;/p&gt;
&lt;p&gt;I would like to configure a secure configuration in the server, and when I Discovery the server in UaExpert, I want that I can only communicate using Basic256Sha256 - Sign &amp;amp; Encrypt. How can I do?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 5" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4153"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 4" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4152"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 3" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4151"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4150"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 1" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4149"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>