Not able to set SSL for Crowd
Symptoms
The following appears in the atlassian-crowd.log
:
014-03-26 11:43:31,472 http-bio-8095-exec-4 ERROR [xfire.transport.http.HttpChannel] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
2014-03-26 11:43:31,474 http-bio-8095-exec-4 ERROR [crowd.integration.springsecurity.CrowdSSOAuthenticationProcessingFilter] Unable to unset Crowd SSO token
org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Couldn't send message.
2014-03-26 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
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.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.