javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name when connecting a Remote Agent to Bamboo Server

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

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)

Cause

This typically occurs when trying to connect your remote agent to Bamboo through a misconfigured Apache HTTPD Server when the Apache Server supports SNI. 

Resolution

The resolution in this case is to add the correct ServerName / ServerAlias to Apache virtual hosts configuration for Bamboo as this article describes: 

Last modified on May 2, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.