Configuring an OPC UA DA Collector
About this task
Procedure
What to do next
All the security related configuration for OPC UA collector to establish secured connectivity to OPC UA server will be done by using ClientConfig.ini file. This file is located in C:\Program Files\GE Digital\Historian. The OPC UA DA Collector\Server64 ClientConfig.ini file has options to select Trust Certificate type, Security Policy, Security Mode, Username and Password. There are default values provided, however these can be configured accordingly.
Sample ClientConfig.ini file:[UaClientConfig]
ApplicationName =OPCUACollector
;TrustCertificate value (only used in secured connection):
; 0 (No trust),
; 1 (Trust temporarily)
; 2 (Default, trust permanently and copy the server certificate into the client trust list)
TrustCertificate =2
; Security Policy - Only applicable if TrustCertificate value is 2
; 0 (http://opcfoundation.org/UA/SecurityPolicy#None )
; 1 (http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15)
; 2 (http://opcfoundation.org/UA/SecurityPolicy#Basic256)
; 3 (http://opcfoundation.org/UA/SecurityPolicy#Aes256_Sha256_RsaPss)
; 4 (http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep)
; 5 (http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256)
SecurityPolicy =2
Note: If you want to change the security policy, update the value of
SecurityPolicy
in the ClientConfig.ini document located at C:\Program Files\GE Digital\Historian OPC UA DA Collector\Server64\, Where C is the installation drive. By default, the value of SecurityPolicy
will be 2.; SecurityMode
; 0 None
; 1 Sign
; 2 SignAndEncrypt
SecurityMode =0
CertificateTrustListLocation =/[ApplicationPath]/pkiclient/trusted/certs/
CertificateRevocationListLocation =/[ApplicationPath]/pkiclient/trusted/crl/
IssuersCertificatesLocation =/[ApplicationPath]/pkiclient/issuers/certs/
IssuersRevocationListLocation =/[ApplicationPath]/pkiclient/issuers/crl/
ClientCertificate =/[ApplicationPath]/pkiclient/own/certs/uaclientcpp.der
ClientPrivateKey =/[ApplicationPath]/pkiclient/own/private/uaclientcpp.pem
RetryInitialConnect =true
AutomaticReconnect =true
Username =admin
Password =admin
Note: The
RetryInitialConnect
parameter is used to retry connecting to the OPCUA DA server when the collector fails to connect to the server initially. The AutomaticReconnect
parameter is used to retry connecting to the OPCUA DA server when the collector fails to connect to the server subsequently.