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

Add a disableTLSCertificateVerification property #12996

Closed
Nigusu-Allehu opened this issue Nov 8, 2023 · 0 comments · Fixed by NuGet/NuGet.Client#5504
Closed

Add a disableTLSCertificateVerification property #12996

Nigusu-Allehu opened this issue Nov 8, 2023 · 0 comments · Fixed by NuGet/NuGet.Client#5504
Assignees
Labels
Area:Settings NuGet.Config and related issues Type:Feature

Comments

@Nigusu-Allehu
Copy link
Contributor

Nigusu-Allehu commented Nov 8, 2023

We need to add a disableTLSCertificateVerification property into packageSources section in NuGet.Config files, as below:

<!-- Disables certification validation on a specific https source -->
<packageSources>
    <add key="Contoso" value="https://contoso.com/packages/" disableTLSCertificateValidation="true" />
</packageSources>

Spec: https://github.com/NuGet/Home/blob/dev/proposed/2023/InsecureConnectionsDisableCertificateValidation.md#package-source-nuget-config

@Nigusu-Allehu Nigusu-Allehu added Type:Feature Area:Settings NuGet.Config and related issues labels Nov 8, 2023
@Nigusu-Allehu Nigusu-Allehu self-assigned this Nov 8, 2023
@Nigusu-Allehu Nigusu-Allehu changed the title Opt-out of "HTTPs everywhere" : Add a disableTLSCertificateVerification property Add a disableTLSCertificateVerification property Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area:Settings NuGet.Config and related issues Type:Feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant