BSA version 8.7 webservice communication with BAO 7.6 does not work with certificate error

Version 1

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BMC Atrium Orchestrator Application Adapters


    BMC Atrium Orchestrator Content


    When integrating BAO 7.6.03 running content 20.15.03 witn BSA 8.7, we are receiving invalid certificate error even though the certificates are correct. The adapter goes into false state and in the gridlog, it states that it cannot download and install the certificate from appserver. Remote host closed connection during handshake
        at Source)
        at Source)
        at Source)
        at Source)
        at com.realops.commons.ssl.CertificateManagement.installCerts(
        at com.realops.adapter.bladelogic.cli.tunnel.BladeLogicCLITunnel.performAction(
        at com.realops.adapter.bladelogic.cli.tunnel.BladeLogicCLITunnel.getSessionId(
        at com.realops.adapter.bladelogic.cli.tunnel.BladeLogicCLITunnel.initialize(
        at com.realops.adapter.bladelogic.operationsmanager.BladeLogicOperationsManagerActorAdapter.initialize(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.realops.common.util.proxy.ContextClassLoaderDecoratorFactory$IsolatedInvocationHandler.doInvoke(
        at com.realops.common.util.proxy.AbstractInvocationHandler.invoke(
        at com.sun.proxy.$Proxy228.initialize(Unknown Source)
        at Source)
    Caused by: SSL peer shut down incorrectly
        at Source)
        ... 33 more
    02 Mar 2016 15:41:22,728 INFO  CertificateManagement : Could not obtain server certificate chain
    02 Mar 2016 15:41:22,728 DEBUG CertificateManagement : Certificate installation aborted since certificate is not valid.
    02 Mar 2016 15:41:22,728 ERROR CertificateManagement : SSL security Exception: Certificate downloaded from <HOSTNAME>:10843 is invalid. Certificate downloaded from <HOSTNAME>:10843 is invalid.


    BSA 8.7 uses Java 1.8 which doesn't allow SSLv2Hello or SSLv3 Protocols


    1. Connect to the server where you have installed the BSA appserver.
    2. Stop the appserver service
    3. Open an NSH console and run command "blasadmin".
    4. Run the command "show appserver EnabledCipherSuites"
    5. Copy the returned values.
    6. Run the command "set Appserver EnabledCipherSuitesForWebservices <paste the copied cipher values from step (5)>"
    7. Run the command "set Appserver SslBackwardCompatibility false" (run only if current value is true)
    8. Start the appserver service
    9. Restart the BSA adapter in BAO Grid Manager.

    If you set the SslBackwardCompatibility to true, BSA is not going to explicity set any of the protocols in the system. So whatever protocols by default are supported by java are going to be picked up and as the jdk 1.8 used by BSA doesn't allow you to use sslv2hello or sslv3 protocols at all, you will see SSL handshake failure. If you set it to false, BSA already have protocols specified into its appserver-options file (locate the file in <installDirectory>/br/deployments/<deploymentName>/options/, and open it for editing.)which basically is the blasadmin settings will be picked up and the connection will work. 

    Article Number:


    Article Type:

    Solutions to a Product Problem

      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles