Skip to content

Ignore empty SSL_CERT_FILE#18366

Closed
siewcapital wants to merge 2 commits intoastral-sh:mainfrom
siewcapital:fix/ssl-cert-file-empty-value
Closed

Ignore empty SSL_CERT_FILE#18366
siewcapital wants to merge 2 commits intoastral-sh:mainfrom
siewcapital:fix/ssl-cert-file-empty-value

Conversation

@siewcapital
Copy link
Copy Markdown

@siewcapital siewcapital commented Mar 7, 2026

Fixes #16712.

If SSL_CERT_FILE is present but set to an empty value, treat it as unset instead of attempting to interpret it as a path.

This matches how other env vars are handled (for example, NO_COLOR / SSL_CERT_DIR ignore empty values).

Test coverage: extend the existing ssl_env_vars integration test to assert that an empty SSL_CERT_FILE behaves like unset.

@samypr100
Copy link
Copy Markdown
Collaborator

Dupe of #16772

@samypr100 samypr100 added the duplicate This issue or pull request already exists label Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSL_CERT_FILE ignores empty value

4 participants