Sample ClientConfig.ini File Used by the OPCUA DA Collector
[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
CertificateTrustListLocation =/data/pkiclient/trusted/certs/
CertificateRevocationListLocation =/data/pkiclient/trusted/crl/
IssuersCertificatesLocation =/data/pkiclient/issuers/certs/
IssuersRevocationListLocation =/data/pkiclient/issuers/crl/
ClientCertificate =/data/pkiclient/own/certs/domain.der
ClientPrivateKey =/data/pkiclient/own/private/domain.key
RetryInitialConnect =true
AutomaticReconnect =true
Note:
- If you do not provide the certificate and key pair, the collector generates one.
- If the General2 variable in the opcua-collector-config.json file is set to false, the collector connects to the OPCUA DA server in the unsecured mode (without any certificate exchange).
- The
RetryInitialConnect
parameter is used to retry connecting to the OPCUA DA server when the collector fails to connect to the server initially. TheAutomaticReconnect
parameter is used to retry connecting to the OPCUA DA server when the collector fails to connect to the server subsequently.