diff options
author | Cody West <cwest@gitlab.com> | 2019-01-22 12:58:46 -0600 |
---|---|---|
committer | Cody West <cwest@gitlab.com> | 2019-01-22 12:58:46 -0600 |
commit | b5ba6c38a66355321e76b1e48f750b1c81b8d484 (patch) | |
tree | aab0d8707dc3386f7e8ddbb4b0d2acb8f10798ce | |
parent | e0d96f9c48253c7393687cc838217cf733961391 (diff) | |
download | gitlab-ce-b5ba6c38a66355321e76b1e48f750b1c81b8d484.tar.gz |
Add script explanation
Offer more explanation regarding the ssl-test script and how it's used.
-rw-r--r-- | doc/user/project/integrations/slack.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/user/project/integrations/slack.md b/doc/user/project/integrations/slack.md index fcacb40c909..c23d008c1bf 100644 --- a/doc/user/project/integrations/slack.md +++ b/doc/user/project/integrations/slack.md @@ -65,6 +65,13 @@ puts "testing GitLab" Net::HTTP.get(URI('https://<GITLAB URL>')) ``` +The important thing with this script is that it should use the same Ruby as GitLab. +There are many ways to run this script, and it will change depending on your install type. +On Omnibus GitLab installs, you can run save this script to `/root/ssl-test.rb`, +make the file exectuable with `chmod u+x /root/ssl-test.rb`, then run `/root/ssl-test.rb` +to execute the script. It should return only the "testing X" lines if it succeeds. +In the event of a failure, the exception should be displayed as well. + If it's an issue with GitLab not trusting HTTPS connections to itself, then you may simply need to [add your certificate to GitLab's trusted certificates](https://docs.gitlab.com/omnibus/settings/ssl.html#install-custom-public-certificates). |