OPC UA Connectorの構成
以下のすべての設定は、
C: 「ProgramData」「OPCUAConnector」「config」custom-config.properties。
OPC UAサーバ証明書の有効期間を年単位で指定します
OPC UA Connectorはデフォルトで、OPC UAサーバー用のpfx証明書を自動的に作成します。証明書のデフォルトの有効期間は50年です。
妥当性を再設定するには、新しい証明書を作成する必要があります。すでに設定済みのOPC UAクライアントも、新しい証明書を受け入れる必要があります
- OPC UA Connectorがインストールされているディレクトリを開きます。
- ファイル custom-config.properties を開きます。
- プロパティの値を変更する
connector.opcua.server.certificate妥当性年。 - -opcuaconnector-installationフォルダ/セキュリティで、以前のpfx証明書の名前を変更または削除します。この手順は、新しい有効性を持つ新しい証明書を作成するために必要です。
- OPC UA Connectorを再起動します。OPC UA ConnectorがWindowsサービスとして実行されている場合は、-opcuaconnector-installation-folder/servicerestart.batを使用します。
OPC UAサーバー証明書とパスワードを指定します
デフォルトでは、OPC UA ConnectorはOPC UAサーバー用のpfx証明書を自動的に作成します。カスタムpfx証明書の提供はオプションです。
以下の設定を使用して、証明書ファイル名とパスワードを指定します。
- OPC UA Connectorがインストールされているディレクトリを開きます。
- ファイル custom-config.properties を開きます
- プロパティの値を変更します。
証明書ファイル名 connector.opcua.server.certificateFile=certificate-filename.pfx 証明書のパスワード connector.opcua.server.certificatePassword=certificate-password - OPC UA Connectorを再起動します。OPC UA ConnectorがWindowsサービスとして実行されている場合は、opcuaconnector-installation-folder/servicerestart.batを使用します。
カスタムpfx証明書は、opcuaconnector-installationfolder/securityフォルダに入れる必要があります。フォルダが存在しない場合は、作成します。
ファイルが存在しない場合、OPC UA Connectorは指定されたパスワードでpfx証明書を自動的に作成します。
すでに構成済みのOPC UAクライアントは、新しい証明書を受け入れる必要があります。
OPCUA TCPサーバ ポートの変更
- OPC UA Connectorがインストールされているディレクトリを開きます。
- ファイル custom-config.properties を開きます。
- プロパティの値を変更します: server.tcpPort。
- OPC UA Connectorを再起動します。
OPC UA ConnectorがWindowsサービスとして実行されている場合は、opcuaconnector-installation-folder/servicerestart.batを実行します。
webUI ポートの変更
- OPC UA Connectorがインストールされているディレクトリを開きます。
- ファイル custom-config.properties を開きます。
- プロパティの値を変更する: server.port
- OPC UA Connectorを再起動します。OPC UA ConnectorがWindowsサービスとして実行されている場合は、opcuaconnector-installation-folder/servicerestart.batを実行します。
アクチュエータポートの交換
- OPC UA Connectorがインストールされているディレクトリを開きます。
- ファイル custom-config.properties を開きます。
- プロパティの値を変更する: management.server.port
- OPC UA Connectorを再起動します。OPC UA ConnectorがWindowsサービスとして実行されている場合は、opcuaconnector-installation-folder/servicerestart.batを実行します。