NuGet/Home

Add CLI option for `disableTLSCertificateValidation` property

Open

#14.061 aperta il 22 gen 2025

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)HTML (292 fork)batch import
Priority:3Type:Featurehelp wanted

Metriche repository

Star
 (1459 star)
Metriche merge PR
 (Merge medio 464g 23h) (1 PR mergiata in 30 g)

Descrizione

NuGet Product(s) Involved

NuGet.exe, dotnet.exe

The Elevator Pitch

Some time ago the property disableTLSCertificateValidation was added to nuget config sources (#12996, #13023, #13478). But this property is not represented by any CLI option so it needs to be added manually in the NuGet config file.

Similar to how allowInsecureConnections has a CLI option, I would suggest adding a CLI option to set the disableTLSCertificateValidation when using nuget sources add and dotnet nuget add source.

Additional Context and Details

No response

Guida contributor