This article is about a "BadCommunicationError" when trying to establish a connection with the OPC-UA client UaExpert to your Anybus CompactCom IIoT Secure module as OPC-UA server.
In UaExpert, when you try to add your Anybus CompactCom IIoT Secure module as a server, instead of getting a list of available endpoints you end up with a "BadCommunicationError":
APPLICABLE PRODUCTS
AB6650, Anybus CompactCom for PROFINET M40 IIoT Secure
AB6651, Anybus CompactCom for EtherNet/IP M40 IIoT Secure
AB6689, Anybus CompactCom for PROFINET B40 IIoT Secure
AB6690, Anybus CompactCom for EtherNet/IP B40 IIoT Secure
AB6750, Anybus CompactCom for PROFINET M40 IIoT Secure without housing
AB6751, Anybus CompactCom for EtherNet/IP M40 IIoT Secure without housing
BACKGROUND
The application note "Enabling and Using OPC UA on Anybus CompactCom 40 IIoT Secure" describes the steps necessary for a connection with UaExpert. In short, both the OPC-UA client and server need to trust each other by installing their respective certificates in order to set up a secure connection.
Therefore, by means of the Anybus Certificate Generator, you need to:
- Create a CA (certificate authority) certificate (unless you already own one from a third party)
- Create a device certificate stemming from the CA certificate and install it to your Anybus CompactCom IIoT Secure
- Create the UaExpert application certificate and install it to your Anybus CompactCom IIoT Secure
- Install the device certificate (from step 2) in UaExpert