Skip to content

fix: Do not override custom SSL context certificate validation settings#650

Open
vustym wants to merge 1 commit intoeBay:masterfrom
vustym:custom-ssl-context
Open

fix: Do not override custom SSL context certificate validation settings#650
vustym wants to merge 1 commit intoeBay:masterfrom
vustym:custom-ssl-context

Conversation

@vustym
Copy link
Copy Markdown

@vustym vustym commented Mar 24, 2026

If a custom SSL context is passed, that must be fully configured, as stated in the doc.
Full configuration also includes the certificate verification mode and verification callback.
Current version overrides those, so certificate validation may behave unexpectedly.
The fix is to not set the verification mode and callback if the context is custom.

Do not override certificate verification
mode and verification callback
if a cusom SSL context is supplied.
@vustym vustym changed the title Do not override custom SSL context certificate validation settings fix: Do not override custom SSL context certificate validation settings Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant