You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Timur Alperovich (JIRA)" <ji...@apache.org> on 2013/05/25 01:18:20 UTC

[jira] [Commented] (THRIFT-1978) Ruby: Thrift should allow for the SSL verify mode to be set

    [ https://issues.apache.org/jira/browse/THRIFT-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666827#comment-13666827 ] 

Timur Alperovich commented on THRIFT-1978:
------------------------------------------

The provided patch works for me and can be put in place in Ruby by overriding the initialize() and flush() methods.
                
> Ruby: Thrift should allow for the SSL verify mode to be set
> -----------------------------------------------------------
>
>                 Key: THRIFT-1978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1978
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.9
>            Reporter: Timur Alperovich
>            Priority: Minor
>         Attachments: ssl_verify_mode.patch
>
>
> Ruby SSL verify mode cannot be specified, which means thrift cannot be used against servers with self-signed certificates over SSL. The suggested fix is to expose the SSL verification mode as a constructor argument in lib/rb/lib/thrift/transport/http_client_transport.rb.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira