Unrecognized SSL message, plaintext connection?

Still need help?

The Atlassian Community is here for you.

Ask the community

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Functional differences in Atlassian Cloud, the contents of this article cannot be applied to Atlassian Cloud applications.

Symptoms

The following appears in the atlassian-crowd.log:

2014-04-21 11:43:31,503 http-bio-8095-exec-4 INFO [service.soap.client.SecurityServerClientImpl] Existing application token is null, authenticating ...
2014-04-21 11:43:31,517 http-bio-8095-exec-4 ERROR [xfire.transport.http.HttpChannel] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2014-04-21 11:43:31,524 http-bio-8095-exec-4 ERROR [crowd.console.action.Login] Failed to connect to the authentication server, please check your crowd.properties
org.springframework.security.authentication.AuthenticationServiceException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't send message.
Caused by: org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't send message.
Caused by: org.codehaus.xfire.fault.XFireFault: Couldn't send message.
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

Cause

Java 7 introduced SNI support which is enabled by default. Certain misconfigured servers send an "Unrecognized Name" warning in the SSL handshake which is ignored by most clients, except for Java.

Resolution

  • Add the following to the JAVA_OPTS environment variable:
    -Djsse.enableSNIExtension=false
  • Restart your Crowd instance.



Description Unrecognized SSL message, plaintext connection? error appears in the atlassian-crowd.log
Last modified on Dec 31, 2018

Was this helpful?

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