diff options
author | Cindy Pallares <cindy@gitlab.com> | 2017-05-22 16:47:31 -0500 |
---|---|---|
committer | Cindy Pallares <cindy@gitlab.com> | 2017-05-23 18:29:20 -0500 |
commit | c13e093334d7f65c78919159f4833983d88c8abb (patch) | |
tree | 6b51a5e46e4e31f71b9970711bfbbbe7ce49ece2 /doc/integration | |
parent | 45e3658d05e163fed6fb7b033ca576c09765a05f (diff) | |
download | gitlab-ce-c13e093334d7f65c78919159f4833983d88c8abb.tar.gz |
Add extra step in GHE import docsgithub-oauth-self-signed-certs-troubleshooting-docs
Diffstat (limited to 'doc/integration')
-rw-r--r-- | doc/integration/github.md | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/doc/integration/github.md b/doc/integration/github.md index de9aedbc596..b0d67db8b59 100644 --- a/doc/integration/github.md +++ b/doc/integration/github.md @@ -114,7 +114,8 @@ If everything goes well the user will be returned to GitLab and will be signed i If you are attempting to import projects from GitHub Enterprise with a self-signed certificate and the imports are failing, you will need to disable SSL verification. -It should be disabled by adding `verify_ssl` to `false` to the provider configuration. +It should be disabled by adding `verify_ssl` to `false` in the provider configuration +and changing the global Git `sslVerify` option to `false` in the GitLab server. For omnibus package: @@ -131,6 +132,12 @@ For omnibus package: ] ``` +You will also need to disable Git SSL verification on the server hosting GitLab. + +```ruby +omnibus_gitconfig['system'] = { "http" => ["sslVerify = false"] } +``` + For installation from source: ``` @@ -141,16 +148,14 @@ For installation from source: args: { scope: 'user:email' } } ``` - -For the changes to take effect, [reconfigure Gitlab] if you installed -via Omnibus, or [restart GitLab] if you installed from source. - -You will also need to disable Git SSL verification on the server hosting GitLab with the following command: +You will also need to disable Git SSL verification on the server hosting GitLab. ``` $ git config --global http.sslVerify false ``` -[reconfigure GitLab]: ../administration/restart_gitlab.md#omnibus-gitlab-reconfigure -[restart GitLab]: ../administration/restart_gitlab.md#installations-from-source +For the changes to take effect, [reconfigure Gitlab] if you installed +via Omnibus, or [restart GitLab] if you installed from source. +[reconfigure GitLab]: ../administration/restart_gitlab.md#omnibus-gitlab-reconfigure +[restart GitLab]: ../administration/restart_gitlab.md#installations-from-source |