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

Federico Mariani commented on CAMEL-18646:
------------------------------------------

Hello [~gilvansfilho], thanks for your reply, do you think it is possible/worth 
creating a temp gitconfig file and a custom SystemReader implementation, in 
this way it should be possible to:
 * copy system config to temp config
 * Update the SystemReader via _SystemReader.setInstance(...)_
 * In this way it should be possible to pass options on the camel route ex. 
git://repo?operation=init&params=http.sslVerify=true
 * so that http.sslVerify is added to the temp configuration and we do not mess 
with user config or ask user to provide a file

What do you think?

Part of this StackOverflow may help 
[https://stackoverflow.com/questions/33804097/prevent-jgit-from-reading-the-native-git-config#answer-59110721]
 

> camel-git - Provide custom configuration
> ----------------------------------------
>
>                 Key: CAMEL-18646
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18646
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-git
>    Affects Versions: 3.19.0
>            Reporter: Federico Mariani
>            Priority: Major
>
> let camel users provide a custom git configuration, for example, disable SSL 
> verification.
> https://git.eclipse.org/r/plugins/gitiles/jgit/jgit/+/refs/heads/master/Documentation/config-options.md



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to