Legacy Knowledge Base
公開されました Jul. 2, 2025

ライセンスページで機密性の高いサーバーの詳細を非表示にする

Written By

Justin Choi

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.
この記事では、管理者が 無効な アクティベーションキーを導入する際に、IP アドレスや MAC アドレスなどの機密性の高いサーバーの詳細を隠す方法について説明します。 これは、情報がパブリックドメインであるため、セキュリティ上のリスクとなる。

再現するためのステップ:

  1. アプリケーションサーバーを起動します。
  2. 無効な アクティベーションキー(有効期限切れのライセンスなど)を展開する。
  3. 以下の画像が表示されます:
    01.png
    図1:サーバーの詳細が公開されている(デモ・サーバー)。

解像度

解決策としては、 portal-ext.properties ファイルに以下を設定します。 license.server.info.display=false.

プラットフォームに変更を加えるときは、 portal.properties ファイルを直接変更するのではなく、常に別個の portal-ext.properties を作成してください。 一度設定すると、サーバーの機密事項はライセンスページで隠蔽されます。 以下の手順で、サーバーの詳細を非表示にします:

  1. 変更を行う前に、必ずアプリケーションサーバーをシャットダウンしてください。
  2. portal-ext.properties ファイルを作成し、 license.server.info.display=falseを追加してください(まだ存在しない場合)。 ファイルを保存します。
  3. アプリケーションサーバーを起動します。
  4. 以下の画像が表示されます:
    02.png
    図2:機密サーバーの詳細が表示されなくなった。
Did this article resolve your issue ?

Legacy Knowledge Base