diff options
author | Robert Speicher <robert@gitlab.com> | 2017-05-24 18:32:13 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-05-24 18:32:13 +0000 |
commit | a1330526691fc4b0b2ab7cc28dfe04f7bd42e99b (patch) | |
tree | 4833519b1f3eba28943d7ec643d275bea4c48106 | |
parent | 30462b8814232724ab4875835225f992790eba95 (diff) | |
parent | c13e093334d7f65c78919159f4833983d88c8abb (diff) | |
download | gitlab-ce-a1330526691fc4b0b2ab7cc28dfe04f7bd42e99b.tar.gz |
Merge branch 'github-oauth-self-signed-certs-troubleshooting-docs' into 'master'
Improve oauth self signed certs troubleshooting docs
See merge request !11621
-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 |