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

エラー「java.lang.IllegalArgumentException: none of the ciphers........are supported by this JVM」がログにスローされる理由

Written By

Amit Tiwari

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.

問題

  • ログにスローされる次のエラーの背後にある理由は何ですか?
[server.startup : 2][com_liferay_portal_search:103] [com.liferay.portal.search.internal.SearchEngineHelperImpl(549)] The addSearchEngineConfigurator method has thrown an exception
java.lang.RuntimeException: java.lang.IllegalArgumentException: none of the ciphers [TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA] are supported by this JVM.

Environment

  • Liferay DXP 7.0

解決策

  • エラー メッセージ 「java.lang.IllegalArgumentException: この JVM でサポートされている暗号はありません」 JDK 暗号スイートが JDK/WebSphere で有効になっていないことを意味します。 この問題は、Liferay にも Elastic search にも関連していません。むしろ、両方で異なる暗号がサポートされているために JVM が相互に通信できないというインフラストラクチャ関連の問題です。
  • 製品側からできることは何もないため、それぞれの JDK ベンダーに相談して、この状況を乗り切り、可能な解決策または回避策があるかどうかを判断する必要があります。
  • ベスト プラクティスは、両方のサーバーで同じディストリビューションとバージョンの JDK を使用することです。つまり、 Liferay DXP と Enterprise Elastic Search。 または、2 つを組み合わせて使用する必要がある場合は、両方が互いの暗号を理解する必要があります。

追加情報

  • 別の方法として、この制限がない REST クライアントベースの ES7 コネクタを使用している Liferay DXP 7.3 へのアップグレードを検討してください。
Did this article resolve your issue ?

Legacy Knowledge Base