Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6001

Closed
Open
Created Jan 07, 2014 by Administrator@rootOwner

Web hook fails with self signed cert

Created by: iamamused

I have a jenkins server with a self signed cert and am trying to use the web hook to trigger a build. My production.log shows:

Started GET "/repo-name/hooks/24/test" for 127.0.0.1 at 2014-01-07 16:11:23 -0500
Processing by Projects::HooksController#test as HTML
  Parameters: {"project_id"=>"repo-name", "id"=>"24"}
Completed 500 Internal Server Error in 279ms

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
  app/models/web_hook.rb:31:in `execute'
  app/contexts/test_hook_context.rb:5:in `execute'
  app/controllers/projects/hooks_controller.rb:27:in `test'
  app/controllers/application_controller.rb:57:in `set_current_user_for_thread'

This seems to be because the remote server is using a self signed certificate and there doesn't seem to be any options to ignore the verification step in the web hook.

Assignee
Assign to
Time tracking