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

Basic auth and HTTPS #63

Open
alustrement opened this issue Dec 18, 2015 · 5 comments
Open

Basic auth and HTTPS #63

alustrement opened this issue Dec 18, 2015 · 5 comments
Assignees

Comments

@alustrement
Copy link

Using basic auth with an HTTPS endpoint cause the following error :

tfx login --auth-type basic --service-url https://server/tfs --username user --password pwd
Connection failed. Check your internet connection & collection URL.
Message: unable to get local issuer certificate

It seems to be the same problem I had with Git : http://blogs.msdn.com/b/phkelley/archive/2014/01/20/adding-a-corporate-or-self-signed-certificate-authority-to-git-exe-s-store.aspx
So how I can specify my certificate file ?

(Trace doesn't help, CLI version is 0.3.3)

@markjgardner
Copy link

Same problem. Alternatively, I would accept an option to ignore certificate validation failures.

@T-Hugs
Copy link
Contributor

T-Hugs commented Dec 23, 2015

Thanks. I will look into this, but it won't be until after New Years.

On Wed, Dec 23, 2015 at 3:02 PM, markjgardner notifications@github.com
wrote:

Same problem. Alternatively, I would accept an option to ignore
certificate validation failures.


Reply to this email directly or view it on GitHub
#63 (comment).

@grawcho
Copy link
Member

grawcho commented Feb 10, 2016

I would like to add that it will be nice to have the ability to use personal access token in on premise TFS server. this issue is blocking my team selecting TFS as our cross platform automation system.

@brettjacobson
Copy link

Any update? This still appears to be a problem. And asking users to send their enterprise domain credentials across the network unencrypted when using on premises TFS seems like a rather large security hole that Microsoft has not addressed and the problem has been known for over 6 months.

@bryanmacfarlane
Copy link
Contributor

@grawcho - note that this tfs-cli issue and "cross platform automation system" are a bit orthogonal. The new vsts-agent supports ntlm across platforms so you should be unblocked on the automation system side: https://github.com/Microsoft/vsts-agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants