Skip to content

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

Merged
greensky00 merged 2 commits into
eBay:masterfrom
vustym:custom-ssl-context
Oct 8, 2026
Merged

greensky00 merged 2 commits into
eBay:masterfrom
vustym:custom-ssl-context

Conversation

@vustym

@vustym vustym commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

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

@greensky00 greensky00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@greensky00
greensky00 merged commit 9db06d2 into eBay:master Oct 8, 2026
2 checks passed
@vustym
vustym deleted the custom-ssl-context branch October 9, 2026 16:10
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.

2 participants