---
title: Connect HiOS device via OPC UA
slug: bhdo/connect-hios-device-via-opc-ua
createdAt: 2024-02-05T12:48:18.049Z
---

# Requirements

- BHDO
- Hirschmann HiOS device with minimum Layer 2 Advanced operating system (see list of devices [here](https://www.doc.hirschmann.com/hios.html)) with OPC UA server enabled
- Ability to ping Hirschmann device from BHDO instance



# Option 1: Self-signed certificate



1. Enable the OPC UA server on the Hirschmann device running L2A HiOS:

   ![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/p86n_IvKlytV7i5xv1Dwi_image.png)
2. Add a new "OPC UA Client Advanced" device in BHDO:

   ![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/NKBfoP_ebNlBF4d-tBOZ7_image.png)
3. Update the settings on the driver

   ![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/jNdbl8nXpHhsJrcnVDoeK_image.png "Screenshot of BHDO UI")

Note:

1. "User Name" and "Password" fields should match the usernames and  passwords set in the HiOS device OPC UA server settings
2. Under the "Advanced Settings" section, set the "Disable Error Certificate Host Name Invalid" field to "true".




![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/-ThCnsOVP5n6qwgA7iLXZ_image.png)

