[
https://issues.apache.org/jira/browse/AIRAVATA-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171908#comment-13171908
]
Heshan Suriyaarachchi commented on AIRAVATA-232:
------------------------------------------------
caFile is a public cert which is available with the GlobusOline Transfer API.
The API is asking for this caFile's location as a path and it does not support
reading it as stream.
Therefore, one option is to download gd-bundle_ca.cert from a http url and save
it to /tmp directory. Then read from that location. Since the TransferAPI does
not provide an API to pass the cert as a stream, the earlier option is the
available option for now.
I have already sent an email to Transfer API mailing list.
> GridFTPFileTransferClient has file paths that refer to a local file paths
> need to generalize this
> -------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-232
> URL: https://issues.apache.org/jira/browse/AIRAVATA-232
> Project: Airavata
> Issue Type: Bug
> Reporter: Chathura Herath
> Assignee: Heshan Suriyaarachchi
> Priority: Critical
>
> GridFTPFileTransferClient has file paths that refer to a local file paths
> need to generalize this
> String username = "heshan";
> String caFile =
> "/home/heshan/Dev/globusonline/transfer-api-client-java.git/trunk/ca/gd-bundle_ca.cert";
> String certFile = "/tmp/x509up_u780936";
> String keyFile = "/tmp/x509up_u780936";
> String baseUrl = null;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira