legacy-knowledge-base
公開されました Jun. 30, 2025

SSLHandshakeExceptionの駆除方法について教えてください。

written-by

Pooja Bhambani

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

learn-legacy-article-disclaimer-text

問題

  • サイトURLにアクセスしようとすると、コンソールに以下の例外が表示され、サイトにアクセスできない。
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshakefailure 
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshakefailure
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:172)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:144)
    at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:264)
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:227)
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:175)
    at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
    at javax.xml.ws.Service.<init>(Service.java:77)

Environment

  • Liferay Portal 6.2

解決策

  • このエラーは通常、 、クライアントとサーバーの接続で希望するセキュリティレベルが一致しなかったり、使用するプロトコルのバージョンが一致しなかったりした場合に発生します。
  • ユーザーがJDK 1.7とTLS 1.2を実行している場合、JDK 1.7はデフォルトでTLS 1.1バージョンを使用します。
    TLS 1.2 バージョンを使用するには、ユーザーは以下のプロパティを追加して、この問題を軽減する必要があります。
    "-Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"

追加情報

ご注意:以下の記事は、Liferayの公式なドキュメントではありません。 これらの情報を利用する際には、適切な判断のもと、従うことを選択してください。

did-this-article-resolve-your-issue

legacy-knowledge-base