Skip to content

Opt-out of "HTTPs everywhere" : add an allowInsecureConnections property in NuGet.Config #12786

@heng-liu

Description

@heng-liu

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

<!-- Allows insecure connections on a specific http source -->
<packageSources>
    <add key="Contoso" value="http://contoso.com/packages/" allowInsecureConnections="true" />
</packageSources>

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

Metadata

Metadata

Assignees

Labels

Area:SettingsNuGet.Config and related issuesType:DCRDesign Change Request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions