How to setup the zenon OPC UA Process Gateway with a CA-signed certificate
This article describes how to create a certificate signed by a Certificate Authority (CA) for using it with the zenon OPC UA Process Gateway.
Pre-requisites
- xca: X certificate and key management
- xca database containing the certificate and private key of the CA (refer to How to setup an own Root Certificate Authority (CA))
- zenon Engineering Studio
Creating a CA-signed certificate using xca
- Open the tool xca.
- Open the database containing the Certificate Authority (CA)
Create a private key
- Go to the tab Private Keys and press New Key
- Provide a name for the key
- Press Create
Export the private key
- Select the newly generated key and press Export
- Provide a file name for the key
- Ensure that the export format is set to PEM private
- Press OK
For
security reasons, the file containing the private key shall only be
deployed to the machine running the OPC UA Process Gateway!
- Switch to your zenon project and add an OPC UA Process Gateway
- Setup the server parameters, variables, and archives as required
- Switch to the tab Endpoints and configure security settings
- Select the generated server certificate and private key

- Now, any client with a valid certificate signed by the same CA is able to connect to the process gateway.
It might be required to add the newly generated server certificate, the CA certificate, and the CRL of the CA to the configuration of the OPC UA clients, too.