[Solved] 500 error in CI when authenticating using OAuth


I just updated my Gitlab and Gitlab CI installations which are on two separate servers.

I updated my CI configuration to add the application ID and secret from Gitlab but when I try to login in Gitlab CI, I have some troubles. Here what I do:

[Edit]: I just checked the log and I noticed:

Faraday::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
app/controllers/user_sessions_controller.rb:18:in `callback’

Indeed, I’m using auto-signed SSL certificate, so how can I prevent it to verify the certificate?

I provided a dirty solution in this thread: https://gitlab.com/gitlab-org/gitlab-ci/issues/93#note_767668