• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • artifactory-plugin
    • None
    • Jenkins 1.654 on Centos 7.
      OpenJDK 1.7.0_95
      Artifactory Plugin 2.4.7

      Attempting to configure Artifactory Plugin.

      When I enter the server name & credentials and "Test Connection", I get:

      Error occurred while requesting version information: Certificate for <...hostname...> doesn't match any of the subject alternative names: [...default SSL cert names...]

      The https connection test is not properly negotiating SNI, and is getting the default cert from the server instead of the correct cert for the host name.

          [JENKINS-34576] Test Connection fails - TLS SNI failure

          What is the current status on this? It appears to be blocked and it's a real pain in the ***

          Guillermo Solla added a comment - What is the current status on this? It appears to be blocked and it's a real pain in the ***

          A fix for this issue will be available in Jenkins Artifactory plugin next release. In the mean time you are welcome to use the following snapshot version:
          https://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/artifactory/2.9.1-SNAPSHOT/artifactory-2.9.1-SNAPSHOT.hpi

          Roman Gurevitch added a comment - A fix for this issue will be available in Jenkins Artifactory plugin next release. In the mean time you are welcome to use the following snapshot version: https://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/artifactory/2.9.1-SNAPSHOT/artifactory-2.9.1-SNAPSHOT.hpi

          Hello, thanks for the update but this snapshot does not resolve SNI issue.
          I'm working with Jenkins 2.32.1 and tested it with artifactory plugin artifactory-2.9.1-20170124.104426-3.hpi

          Still getting same SNI support message:
          Error occurred while requesting version information: Certificate for <bbb.domain.local doesn't match common name of the certificate subject: aaa.domain.local

          Gitlab and SonarQube plugin are throwing same error when requesting certificate on VHOST serving more than one certificate. Is this something that has to be worked out on Jenkins core rather than on plugin?

          Guillermo Solla added a comment - Hello, thanks for the update but this snapshot does not resolve SNI issue. I'm working with Jenkins 2.32.1 and tested it with artifactory plugin artifactory-2.9.1-20170124.104426-3.hpi Still getting same SNI support message: Error occurred while requesting version information: Certificate for <bbb.domain.local doesn't match common name of the certificate subject: aaa.domain.local Gitlab and SonarQube plugin are throwing same error when requesting certificate on VHOST serving more than one certificate. Is this something that has to be worked out on Jenkins core rather than on plugin?

            eyalbe Eyal Ben Moshe
            vml_aledonne Alex LeDonne
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: