SSL authentication

Jul 15, 2013 at 6:03 PM
Hello,

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?

log:
Error getting data provider
com.microsoft.tfs.core.exceptions.TECoreException: The SOAP endpoint https://<tfspath>/Services/v1.0/Registration.asmx could not be contacted. HTTP status: 403
Developer
Jul 15, 2013 at 6: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 6:35 PM
Thanks for fast reply.

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

command:
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 5:16 AM
git tf log contains:

DEBUG [main] (com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod) 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?
Developer
Jul 17, 2013 at 2: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!