Comment 4 for bug 1290006

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote : Re: Update 5.6.15-25.3 - > 5.6.15-25.4: SSL not working any more

#ifdef HAVE_ASIO_SSL_HPP
    // use ssl if either private key or cert file is specified
    bool use_ssl(conf_.has(Conf::SocketSslPrivateKeyFile) == true ||
                 conf_.has(Conf::SocketSslCertificateFile) == true);
    try
    {
        // overrides use_ssl is given explicitly
        use_ssl = conf_.get<bool>(Conf::SocketUseSsl);
    }
    catch (gu::NotFound& nf) { }

    if (use_ssl == true)
    {
        conf_.set(Conf::SocketUseSsl, true);
        log_info << "initializing ssl context";
        set_compression(conf_);
        set_cipher_list(ssl_context_.impl(), conf_);
        ssl_context_.set_verify_mode(asio::ssl::context::verify_peer);
        ssl_context_.set_password_callback(

since SocketUseSssl has default value of 'no' now, it disables
it.