javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name when connecting a Remote Agent to Bamboo Server
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When connecting a Remote Agent to the Bamboo Server the below exception is observed in the <bamboo-agent-home>/atlassian-bamboo-agent.log:
INFO | jvm 4 | 2017/03/29 14:00:17 | Exiting due to fatal exception.
INFO | jvm 4 | 2017/03/29 14:00:17 | javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
INFO | jvm 4 | 2017/03/29 14:00:17 | at sun.security.ssl.ClientHandshaker.handshakeAlert(ClientHandshaker.java:1441)
INFO | jvm 4 | 2017/03/29 14:00:17 | at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2016)
INFO | jvm 4 | 2017/03/29 14:00:17 | at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)原因
This typically occurs when trying to connect your remote agent to Bamboo through a misconfigured Apache HTTPD Server when the Apache Server supports SNI.
ソリューション
The resolution in this case is to add the correct ServerName / ServerAlias to Apache virtual hosts configuration for Bamboo as this article describes:
この内容はお役に立ちましたか?