gaxeliy commented on issue #76296:
URL: https://github.com/apache/airflow/issues/76296#issuecomment-7274391206

   I'd like to work on this.
   
   Right now `serve_logs()` starts uvicorn without TLS, and the API server 
always builds
   `http://{hostname}:{port}/log/...` in `FileTaskHandler`. Even with a proxy 
in front there is
   still a plain-HTTP hop, and the log server itself can't speak HTTPS.
   
   I'm going to make it opt-in and keep the current defaults. On the config 
side,
   `[logging] log_server_scheme` would decide whether the API server builds an 
`http://` or
   `https://` URL. `log_server_ssl_cert` and `log_server_ssl_key` are what the 
log server passes
   to uvicorn. `log_server_ssl_ca_file` is what the API server passes to 
requests as `verify=`,
   so a private or self-signed CA can be trusted without turning verification 
off. JWT stays the
   auth mechanism; I'd rather not add a `verify=False` escape hatch.


-- 
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]

Reply via email to