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

https/httpを使用した「データソース」の認証

Written By

Kanchan Bisht

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.

問題

  • アナリティクスから認証する際に、「HTTPS」リクエストが「HTTP」に変換されているようなエラーが発生しました。

環境への配慮

  • Liferay 7.2

決議

  • ブラウザがリクエストを出すことはなく、データを引き出すためにサーバーにリクエストを出すのはACです。 したがって、サーバが AC 上で「HTTPS」で動作するためには、自己署名された証明書ではなく、有効な証明書が必要である。

  • HTTP」サーバと「HTTPS」サーバとの間には、根本的には何の違いもありません。

追加情報

  • ACとDXPの相互作用の基本的な流れは次のようになります。
    • ACはトークンを作成するためにDXPにリクエストを送信します。
    • AC はユーザを DXP インスタンスにリダイレクトして、ユーザが認証するようにします。
    • ユーザーが承認をクリックした後、DXPはリクエストを承認します。
    • DXP は AC にリダイレクトします。
    • ACはトークンを使ってAPIコールを行う
  • Liferay 7.2 dxp-5、トークン認証が使えるようになりました。 トークン認証なら、データはすべてDXPからACにプッシュされるので、これはもう問題にならないでしょう。 OAuth接続方法は、DXPからACにデータを引っ張ってくることに依存しています。
Did this article resolve your issue ?

Legacy Knowledge Base