Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV-92 - Add certificate in HTTP fallback handler #289

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

w1am
Copy link
Contributor

@w1am w1am commented Feb 28, 2024

Changed: Add certificate in HTTP fallback handler

Was missed in #281

@josephcummings josephcummings changed the title Add certificate in HTTP fallback handler DEV-92 - Add certificate in HTTP fallback handler Feb 28, 2024
Copy link

linear bot commented Feb 28, 2024

handler.ClientCertificates.Add(settings.ConnectivitySettings.TlsCaFile);

if (!settings.ConnectivitySettings.TlsVerifyCert)
handler.ServerCertificateCustomValidationCallback = (_, _, _, _) => true;
Copy link
Contributor

Choose a reason for hiding this comment

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

minor quibble. Could be

handler.ServerCertificateCustomValidationCallback = delegate { return  true; };

since we do not care about the parameters but the functionality is the same.

@thefringeninja thefringeninja merged commit ad51ce6 into master Feb 29, 2024
62 of 63 checks passed
@thefringeninja thefringeninja deleted the add-certificates-in-http-fallback-handler branch February 29, 2024 21:31
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.

3 participants