Skip to content

Https protocol problem #680

@genokan

Description

@genokan

This is definitely unique to my environment, so please flag this as a possible future enhancement and not an issue with your code.
At my work we have https inspection and provide our own CA certificate which seems to interfere with https traffic coming from github.

A workaround is to use the git:// protocol instead of https://. I have modified
/autoload/vundle/config.vim in order to fix this for my environment. I'm not sure if logic could be added say "hey, we encountered an error with https, let's try git and http".

func! s:parse_name(arg)
let arg = a:arg
let git_proto = exists('g:vundle_default_git_proto') ? g:vundle_default_git_proto : 'git'

I just wanted to let you guys know. Below is the error output I'm seeing.

Thanks.

[2015-12-11 15:43:28] Plugin URI change detected for Plugi|~
n vim-sleuth |~
[2015-12-11 15:43:28] > Plugin vim-sleuth old URI: git://|~
github.com/tpope/vim-sleuth.git |~
[2015-12-11 15:43:28] > Plugin vim-sleuth new URI: https:|~
//github.com/tpope/vim-sleuth.git |~
[2015-12-11 15:43:28] |~
[2015-12-11 15:43:28] Plugin tpope/vim-sleuth |~
[2015-12-11 15:43:28] $ cd '/home/ggg/.vim/bundle/vi|~
m-sleuth' && git remote set-url origin 'https://github.com|~
/tpope/vim-sleuth.git' && git fetch && git reset --hard or|~
igin/HEAD && git submodule update --init --recursive |~
[2015-12-11 15:43:28] > fatal: unable to access 'https://g|~
ithub.com/tpope/vim-sleuth.git/': server certificate verif|~
ication failed. CAfile: /etc/ssl/certs/ca-certificates.crt|~
CRLfile: none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions