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

Antoine Toulme commented on BUILDR-595:
---------------------------------------

That's fine. I stumbled on BUILDR-595 without looking at BUILDR-594.

I looked up the code and we would need to change it slightly to provide for ssl 
ca path support:
http://igarewa.tumblr.com/post/4266062400/verifying-ssl-certs-with-net-http-ca-path

For now you can edit lib/buildr/core/transports.rb around line 280 and add this 
line:
{code}
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
http.ca_path = File.expand_path(File.join(File.dirname(__FILE__), 'certs'))
{code} 

> Add option to specifiy location of ca cert
> ------------------------------------------
>
>                 Key: BUILDR-595
>                 URL: https://issues.apache.org/jira/browse/BUILDR-595
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.4.6
>            Reporter: Damian Monogue
>            Assignee: Antoine Toulme
>              Labels: maven
>             Fix For: 1.4.7
>
>         Attachments: BUILDR-595.diff
>
>
> Need the ability to specify to Buildr where to look for the root CA 
> certificate so that you can use certificate verification with ssl for remote 
> repositories.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to