Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64755

Invalid GitLab server URL when adding gitlab url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Environment:
      Jenkins: 2.263.1
      GitLab Branch Source Plugin: 1.5.3
      Gitlab API Plugin: 1.0.6
      GitLab: 12.9.0
    • Similar Issues:

      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?

       

       

        Attachments

          Activity

          Hide
          tgr Tobias Gruetzmacher added a comment -

          This has nothing to do with Jenkins or the gitlab-branch-source-plugin, please fix the TLS setup of your GitLab:

          java.security.cert.CertificateException No subject alternative names present
          

          The certificate for your GitLab doesn't contain the minimum information to verify its validity (the name of the server the certificate is issued for)

          Show
          tgr Tobias Gruetzmacher added a comment - This has nothing to do with Jenkins or the gitlab-branch-source-plugin, please fix the TLS setup of your GitLab: java.security.cert.CertificateException No subject alternative names present The certificate for your GitLab doesn't contain the minimum information to verify its validity (the name of the server the certificate is issued for)

            People

            Assignee:
            baymac Parichay Barpanda
            Reporter:
            only_wild_weeds tao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: