--- title: "OPC UA Security Settings" --- # OPC UA Security Settings > On the OPC UA Security Settings page you can manage [OPC UA](ignition-modules\opc-ua\opc-ua.md) certificates for the client and server. Trusted certificates can be imported and quarantined certificates can be marked as trusted. The Security Settings page is located under the Gateway's **Connections** section, under **OPC > Security Settings**: ![OPC UA Security Section Gateway Config](opc-ua-security-section-gateway-config.png) ## Client and Server Tabs Both the Client and Server tabs allow you to view OPC UA security certificates. The **Client** tab contains certificates the Gateway uses when acting as a OPC UA client, while the **Server** tab contains certificates the Gateway uses when acting as an OPC UA server. Both tabs have the same options in regards to managing certificates. ### Upload a Trusted Certificate The steps for uploading trusted certificates are the same whether you're on the Client tab or the Server tab. To upload a trusted Certificate, do the following. 1. On the Gateway Webpage **Connections** tab, select **OPC** > **Security Settings**. 2. Click the **Client** tab or **Server** tab, depending on the what certificate you're uploading. 3. Click **Upload Trusted Certificate**. 4. Navigate to the location of the certificate on your system and click **Open**. Alternatively, you can drag the certificate file onto the page. 5. If the upload was successful, you'll see the name of the certificate and a success message. The certificate will appear in the Trusted Certificates list. ### Download a Trusted Certificate To download a trusted certificate, do the following. 1. Next to the certificate name, click the three dot menu and select **Download**. 2. The certificate is downloaded to your system by your web browser. ### Delete a Trusted Certificate To delete a trusted certificate, do the following. 1. Next to the certificate name, click the three dot menu and select **Delete**. 2. The certificate is deleted. To view more information about a trusted certificate, use the **Expand** ![](expand.png) icon. ![Delete Trusted Certificate](delete-trusted-certificate.png) ### OPC Security Settings Page Details #### Trusted Certificates | Column Name | Description | |---|---| | Common Name | Name of the certificate. | | SHA-1 Fingerprint | The SHA-1 (Secure Hash Algorithm 1) fingerprint is the unique identifier of the certificate. | | Expiration | Date the certificate will expire. | #### Additional Information | Column Name | Description | |---|---| | CN | Common Name | | O | Organization, usually the legal incorporated name of a company. | | OU | Organizational Unit | | L | Locality (Town or City) | | ST | State | | C | Country, the two-letter ISO code for the country where the organization is located. | ### Quarantined Certificates If you import a certificate that is not trusted, it will appear under the Quarantined Certificates list. From here you can expand the certificate details, **Trust** the certificate, or **Delete** it. ![Quarantined Certificate](quarantined-certificate.png) ## Certificates Tab The Certificates tab shows the trusted certificates for the OPC UA client and server on the Gateway. From this tab the certificates can be examined by expanding the dropdown. The certificates can be downloaded by clicking the three dot menu and selecting **Download**. This will perform the same action as downloading a certificate from the **Client** tab as described above. ![Certificates Tab](certificates-tab.png) The Certificates tab menu options also include a **Regenerate** option. Selecting this will create a new certificate. ### Regenerate Current Certificates All certificates have a definitive live span. For example, the default life span for an Ignition-generated OPC UA certificate is three years. Any OPC UA connection, even the default loopback connection to Ignition's own server, will stop working if the certificate expires or is invalid. Regenerating the certificates creates a new certificate with an expiration date set for three years later. If your private key is somehow compromised, regenerating a Client or Server certificate also ensures that the private key will no longer work with the Ignition Gateway. Newly regenerated certificates are automatically trusted by the Gateway issuing them. Regenerating a Client certificate will allow you to specify the duration of the new certificate. In addition, regenerating a Server certificate will allow you to specify the duration, the DNS names, and IP addresses in the Subject Alternate Name (SAN) fields. ![Regenerate Current Certificates](regenerate-current-certificates.png)