jenkinsci / gitlab-plugin

A Jenkins plugin for interfacing with GitLab
https://plugins.jenkins.io/gitlab-plugin/
GNU General Public License v2.0
1.44k stars 613 forks source link

400 Bad Request - No required SSL certificate was sent #915

Open rahst12 opened 5 years ago

rahst12 commented 5 years ago

Before submitting an issue I have first:

Issue

Context

Logs & Traces

com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder$LoggingFilter filter
Call GitLab:
HTTP method: GET
URL: https://gitlab-ee-internal/api/v4/user
Request headers: [
Accept = [application/json],
PRIVATE-TOKEN = [****FILTERED****]
]
com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClientBuilder$LoggingFilter filter
Got response from GitLab:
URL: https://gitlab-ee-internal/api/v4/user
Status: 400 Bad Request
Response headers: [
Connection = [close],
Content-Length = [246],
Content-Type = [text/html],
Date = [ Wed, 03 Apr 2019 20:36:49 GMT],
Server = [nginx]
]
Response Body: <html>
<head><title>400 No required SSL certificate was sent</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>No required SSL certificate was sent</center>
<hr><center>nginx</center>
</body>
</html>

Problem description

Describe your problem in a meaningful way:

Thanks for any help!

ghost commented 9 months ago

edit the /etc/gitlab/gitlab.rb, nginx['ssl_verify_client'] = "on" -> nginx['ssl_verify_client'] = "off"

if you want to webstation public, you can do this.