Setting up an encrypted connection with the "UaExpert" client Permalink

The "UaExpert" OPC UA Client is freely accessible software that you can download from the Internet. You can use this client to connect to the CODESYS OPC UA Server. The following description refers to this program. Other OPC UA Clients work in a similar way.

  1. Start the UaExpert program.

  2. Click “Server  Add”.

    The “Add Server” dialog opens.

  3. In the tree view, expand “Local  OPCUAServer@”.

  4. Select the connection type “Basic256Sha256 – Sign & Encrypt (uatcp-uasc-uabinary)” and click “OK” to close the dialog.

    _cds_img_uaexpert_1.png
  5. Click “Server  Connect”.

    The “Certificate Validation” dialog opens with an error message.

  6. Select the “Accept the server certificate temporarily for this session” option and click “Continue”.

  7. In CODESYS, click the _cds_img_refresh_list.png symbol.

    The view is refreshed.

  8. Select the “Quarantined Certificates” folder.

    The “UaExpert@” client certificate is displayed in the right view.

    _cds_img_quarantined_certificates.png
  9. Drag the certificate to the “Trusted Certificates” folder.

    Now the client certificate is classified as "trusted" by the server.

  10. In the UaExpert client, click “Server  Connect”.

    The “Certificate Validation” dialog opens with an error message.

  11. Select the “Accept the server certificate temporarily for this session” option and click “Continue”.

    The connection is established and objects are displayed in the “Address Space” view.