-
Notifications
You must be signed in to change notification settings - Fork 258
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
NuGet cannot restore from HTTPS sources that require Client Certificates #5773
Comments
Another person asked about this issue: https://stackoverflow.com/questions/42096554/get-nuget-to-pass-a-client-certificate-to-a-private-proget-server-using-ssl |
@rrelyea or nuget team, |
This support for mutual SSL authentication is sorely needed by the DoD community. |
This support for mutual SSL authentication is needed by the DoD community. |
My team could really use this feature |
This feature would go a long way in helping our team resolve an issue we're having with using nuget in several of our projects. |
Besides offering a mechanism for an application such as TFS/VSTS to "pass" client certificates to nuget for use during ssl client authentication, could you also ensure the nuget client can utilize an ssl client certificate from a smartcard device? VS 2015 appears to do this well. |
I work for the government, and we really do need this feature available. We are currently having to use several workarounds. These workarounds are slow, time-consuming, and error prone. |
Yes, having this feature would be extremely helpful, I work for the Government as well and not having that option is cumbersome to say the least. |
I concur: "This support for mutual SSL authentication is SORELY needed by the DoD community." |
This would be a great thing to have, our project would benefit from this as well. |
@rrelyea , regarding this issue's designation as a feature rather than a bug type: Today, isn't mutual ssl authentication considered more of a basic functionality rather than a nice-to-have? With security being paramount, my organization requires mutual ssl authentication without exception. Without nuget's support of ssl client authentication, we are unable to use Visual Studio Team Foundation Server's Package Management to host our nuget packages. As a result, this issue is blocking our development of a much-needed modular redesign using nuget packages. |
Just looping back here. |
Issue 7212 was closed as duplicate of this ticket. Still wondering when nuget will support ssl client authentication? Thank you. |
@nkolev92 , could you explain what "This ask is orthogonal of our plugins feature" means? |
The plugins feature was independent of this one. They are both in the same feature space (authentication), but the plugins were solving a different problem. |
@nkolev92 |
There're no immediate plans(5.2) as far as I am aware (5.2 which aligns to 16.2 of Visual Studio). |
This would be a great feature for my team as well. We are required to use client certificate auth for our systems, which currently precludes us from using NuGet package hosting. |
Did not expect that such feature still not exist. Today faced with same issue. Hope NuGet team will implement so desirable functionality soon. |
@nkolev92 @keithrob @rrelyea |
Hope that pull request somehow speedup feature implementation. |
Awesome work @BlackGad! Hopefully they'll take a look at this and merge it in quickly =) |
Thank you @BlackGad. It would be wonderful to be able to use the certificate store. |
Huge thanks to @BlackGad for implementing this. It was a big effort as we went though a design spec process first, which needed the original implementation to change considerably. But this has now been merged! 🎉 It will be available in:
|
Thanks @BlackGad! I can't wait to test this out. |
For peoples who wants to secure theirs NuGet server with client certificates will leave here our configuration. We are using regular BaGet NuGet server which listening not secured HTTP inside our private network (Read-through caching disabled) Apache configuration example:
Above configuration allows:
|
Idea
We should add a way for users to nominate a Client Certificate for HTTPS connections that require them.
Probably should be handled simliar to #4387
"Inspirations"
npm has this: https://docs.npmjs.com/misc/config#cert
maven has this: https://maven.apache.org/guides/mini/guide-repository-ssl.html:
Current Behavior
The text was updated successfully, but these errors were encountered: