You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Simon MacDonald (JIRA)" <ji...@apache.org> on 2012/09/18 04:14:07 UTC

[jira] [Resolved] (CB-1411) Add "trustAllHosts" option to FileTransfer.download on Android

     [ https://issues.apache.org/jira/browse/CB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon MacDonald resolved CB-1411.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

Added a trust everyone parameter to download.
                
> Add "trustAllHosts" option to FileTransfer.download on Android 
> ---------------------------------------------------------------
>
>                 Key: CB-1411
>                 URL: https://issues.apache.org/jira/browse/CB-1411
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Android, Cordova 2.0
>            Reporter: Dave Brunswick
>            Assignee: Simon MacDonald
>             Fix For: 2.2.0
>
>
> FileTransfer.download() over ssl with self-signed cert on Android with cordova 2.0 doesn't work, because there is no way to override the trust.  An optional trustAllHosts parameter is already available in FileTransfer.upload(), and it seems to only way to make downloads work over https with self-signed certs is to make a similar modification to the download function.

--
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