This project is read-only.

SSL authentication

Jul 15, 2013 at 7:03 PM

I have problem to connect with tfs by ssl authentication. I have certificate, how I can use git-tf with authentication on server by certificate?

Error getting data provider The SOAP endpoint https://<tfspath>/Services/v1.0/Registration.asmx could not be contacted. HTTP status: 403
Jul 15, 2013 at 7:26 PM
Hi! Could you provide some more details about the problem you're trying to solve?

It looks like your URL is not configured correctly? What commands are you executing that give you this error message?
Jul 15, 2013 at 7:35 PM
Thanks for fast reply.

I have 2 links: internal (intranet) and external (available over internet).

git tf clone

For internal link - everything fine, but when I use it command over external link it doesnt work. For access to tfs in intranet we use only tfs user\pass. When use external link, access to server is confirmed by certificate and then works tfs authentication.
Jul 17, 2013 at 6:16 AM
git tf log contains:

DEBUG [main] ( Request body sent
DEBUG [main] (httpclient.wire.header) << "HTTP/1.1 403 Forbidden ( The page requires a client certificate as part of the authentication process. If you are using a smart card, you will need to insert your smart card to select an appropriate certificate. Otherwise, contact your server administrator. )[\r][\n]"

How add client ssl certificate to git tf?
Jul 17, 2013 at 3:09 PM
I don't think we support client certificates with git-tf; I don't think we support client certificates with the TFS Java SDK, for that matter.

This is something we'll add to the backlog. Thanks!