Authenticate a User to Connect to the OPC UA HDA Server

Before you begin

Connect the OPC UA HDA server and the OPC UA HDA client.

About this task

You can authenticate a user based on one of the following methods:
  • User credentials: In this method, you will use the credentials of a Historian user. When you do so, the OPC UA HDA server validates the credentials by connecting to the Historian server, and then grants access.
    Note: The user is authenticated regardless of whether the Historian server is part of a stand-alone or a distributed Historian system.
  • Certificate: In this method, you will provide a trusted certificate and a private key of the OPC UA HDA server. The server validates that the certificate is the same as the user certificate stored in the server, and then grants access.
    Tip: You can generate a self-signed certificate and its keys using the Proficy Historian OPC UA Server Configuration tool, which is provided with the OPC UA HDA server.
Anonymous authentication is not supported.

Procedure

  1. Access the OPC UA HDA client.
  2. If you want to authenticate a user using the user credentials, select the appropriate option in the user authentication window, and then enter the username and password of the Historian user.
  3. If you want to authenticate a user using a certificate:
    1. Select the appropriate option in the user authentication window.
    2. Provide the certificate and the private key (which are stored in the .der and .pem formats respectively). If needed, enter a password for the private key.

Results

The user is authenticated. A list of Historian tags appears in the OPC UA HDA client. These tags are represented as models in the client, categorized based on the data type. The OPC UA HDA server collects tag data from Historian, and sends it to the client. You can now use the client to access a trend chart of the tag data and analyze it.