jenkinsci / jenkinsci/gitlab-branch-source-plugin
[JENKINS-64755] Invalid GitLab server URL when adding gitlab url
- Dominant language
- Java
- Stars
- 134
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
Jenkins can access gitlab through the extranet IP address, and can use git with ssh key to clone projects from gitlab.
Then I followed the GitLab Branch Source Plugin tutorial and configured it step by step, but when I entered my gitlab server extranet IP address, I was prompted with this,
Invalid GitLab Server URL: https://xxx.xxx.xxx.xxx:9xx8
and when I clicked on the test connection I got the following error.
Failed to validate the account javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
Attached was the show details error report.
What should I do?
---
Originally reported by only_wild_weeds, imported from: Invalid GitLab server URL when adding gitlab url
baymac
Raw content of original issue
Jenkins can access gitlab through the extranet IP address, and can use git with ssh key to clone projects from gitlab.
Then I followed the GitLab Branch Source Plugin tutorial and configured it step by step, but when I entered my gitlab server extranet IP address, I was prompted with this,
Invalid GitLab Server URL: https://xxx.xxx.xxx.xxx:9xx8and when I clicked on the test connection I got the following error.
Failed to validate the account javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names presentAttached was the show details error report.
What should I do?
environment
```
Jenkins: 2.263.1
GitLab Branch Source Plugin: 1.5.3
Gitlab API Plugin: 1.0.6
GitLab: 12.9.0
```
1 attachment
- [error.log](https://issues.jenkins.io/secure/attachment/53908/error.log)
Contributor guide
Assessment
This issue has not been assessed yet.