dandanseo123 opened a new pull request, #64767: URL: https://github.com/apache/airflow/pull/64767
Adds `SSL_MUTUAL_TLS` config option (default: `True`) to the `[celery]` section. When `False`, `SSL_KEY` and `SSL_CERT` are skipped from `broker_use_ssl`, enabling one-way TLS (server verification only via `SSL_CACERT`). This is needed for setups using AMQP/Redis over TLS with token or password-based auth instead of client certificates. When `True` (default), existing behavior is unchanged — `SSL_KEY` and `SSL_CERT` are required. A clear error is now raised if they are missing, replacing the previous cryptic `[Errno 2]` crash from py-amqp attempting to load empty certificate paths. Supports both AMQP (`amqps://`) and Redis (`rediss://`) brokers. related: https://github.com/apache/airflow/issues/39210 follow-up: https://github.com/apache/airflow/pull/64392 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code Generated-by: Claude Code following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
