jenkinsci / jenkinsci/active-directory-plugin

[JENKINS-34253] Add "Require encrypted authentication" option for StartTLS

Open
#475 0 comments 0 reactions 0 assignees View on GitHub
component:active-directory-plugin enhancement imported-jira-issue priority:major resolution:unresolved security
Dominant language
Java
Stars
53
Forks
115
PR merge metrics
No merged PRs in 30d

Description

Please strongly consider adding a configuration option that disables "fall back to non-TLS LDAP if StartTLS doesn't work" behavior.

Testing that one's certificates are configured properly and that StartTLS works right now (your ldapsearch wiki examples) proves nothing about tomorrow.

[ ] Fallback to unencrypted authentication of TLS upgrade fails

or

[ * ] Require encrypted authentication

---
Originally reported by jblaine, imported from: Add "Require encrypted authentication" option for StartTLS


  • assignee: fbelzunc
  • status: Open
  • priority: Major
  • component(s): active-directory-plugin
  • label(s): security, starttls
  • resolution: Unresolved
  • votes: 3
  • watchers: 6
  • imported: 2025-12-07

Raw content of original issue

Please strongly consider adding a configuration option that disables "fall back to non-TLS LDAP if StartTLS doesn't work" behavior.

Testing that one's certificates are configured properly and that StartTLS works right now (your ldapsearch wiki examples) proves nothing about tomorrow.

[ ] Fallback to unencrypted authentication of TLS upgrade fails

or

[ * ] Require encrypted authentication

Contributor guide

Open the contributing guide

Research direction

Start by locating the active-directory-plugin code that handles LDAP StartTLS and fallback authentication. Check how the current connection behavior is configured, then add coverage for the requested encrypted-authentication choice; done means unencrypted fallback is disabled when that choice is enabled while existing behavior remains available otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.