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

JCasC cannot configure TLS for Active Directory

    Details

    • Similar Issues:

      Description

      The issue appeared after updating active-directory plugin to 2.11 which is a security update. Downgrade to active-directory:2.10 resolves the issue.

      Jenkins startup fails due to JCasC complaining about invalid configuration element: tlsConfiguration

      Caused by: io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class hudson.plugins.active_directory.ActiveDirectorySecurityRealm : tlsConfiguration.
      Available attributes : bindName, bindPassword, cache, captchaSupport, customDomain, domain, domains, environmentProperties, groupLookupStrategy, internalUsersDatabase, removeIrrelevantGroups, server, site, startTls

      If TLS is not configured it defaults to (Unsecure) Trust all Certificates option.

       

       

        Attachments

          Activity

          didried Edgars Didrihsons created issue -
          didried Edgars Didrihsons made changes -
          Field Original Value New Value
          Description The issue appeared after updating active-directory plugin to 2.11 which is a security update.

          Jenkins startup fails due to JCasC complaining about invalid configuration element: tlsConfiguration
          {code:java}
          Caused by: io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class hudson.plugins.active_directory.ActiveDirectorySecurityRealm : tlsConfiguration.
          Available attributes : bindName, bindPassword, cache, captchaSupport, customDomain, domain, domains, environmentProperties, groupLookupStrategy, internalUsersDatabase, removeIrrelevantGroups, server, site, startTls{code}
          If TLS is not configured it defaults to (Unsecure) Trust all Certificates option.

           

           
          The issue appeared after updating active-directory plugin to 2.11 which is a security update. Downgrade to 

          Jenkins startup fails due to JCasC complaining about invalid configuration element: tlsConfiguration
          {code:java}
          Caused by: io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class hudson.plugins.active_directory.ActiveDirectorySecurityRealm : tlsConfiguration.
          Available attributes : bindName, bindPassword, cache, captchaSupport, customDomain, domain, domains, environmentProperties, groupLookupStrategy, internalUsersDatabase, removeIrrelevantGroups, server, site, startTls{code}
          If TLS is not configured it defaults to (Unsecure) Trust all Certificates option.

           

           
          didried Edgars Didrihsons made changes -
          Description The issue appeared after updating active-directory plugin to 2.11 which is a security update. Downgrade to 

          Jenkins startup fails due to JCasC complaining about invalid configuration element: tlsConfiguration
          {code:java}
          Caused by: io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class hudson.plugins.active_directory.ActiveDirectorySecurityRealm : tlsConfiguration.
          Available attributes : bindName, bindPassword, cache, captchaSupport, customDomain, domain, domains, environmentProperties, groupLookupStrategy, internalUsersDatabase, removeIrrelevantGroups, server, site, startTls{code}
          If TLS is not configured it defaults to (Unsecure) Trust all Certificates option.

           

           
          The issue appeared after updating active-directory plugin to 2.11 which is a security update. Downgrade to active-directory:2.10 resolves the issue.

          Jenkins startup fails due to JCasC complaining about invalid configuration element: tlsConfiguration
          {code:java}
          Caused by: io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class hudson.plugins.active_directory.ActiveDirectorySecurityRealm : tlsConfiguration.
          Available attributes : bindName, bindPassword, cache, captchaSupport, customDomain, domain, domains, environmentProperties, groupLookupStrategy, internalUsersDatabase, removeIrrelevantGroups, server, site, startTls{code}
          If TLS is not configured it defaults to (Unsecure) Trust all Certificates option.

           

           
          wfollonier Wadeck Follonier made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Defect [ 7 ]

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              didried Edgars Didrihsons
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: