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