Bridge for Git - Resource not available for anonymous access

book

Article ID: 221284

calendar_today

Updated On:

Products

CA Endevor Software Change Manager (SCM)

Issue/Introduction

Failed to update the credentials in Bridge for Git: 



And failed to refresh Bridge for Git.





Bridge for Git log shows:

2021-08-02 17:24:00.720 ERROR 3472 --- [           main] c.c.e.i.connector.rest.SpringRestClient  : Request: GET HTTPS://tfs.group.euroclear.com:15443/tfs/tfs?api-version=5.0 (headers=[Content-Type:"application/json", Accept:"application/json"])
2021-08-02 17:24:00.736 ERROR 3472 --- [           main] c.c.e.i.connector.rest.SpringRestClient  : Response: ´╗┐{"$id":"1","innerException":null,"message":"TF400813: Resource not available for anonymous access. Client authentication required.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}

...
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://mainframetomndv.testgroup.euroclear.com:8443/EndevorService/rest/ENDEVOR/env/*/stgnum/*": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Environment

Release : 18.1

Component : BRIDGE FOR GIT 2.8

Resolution

Endevor web services is configured with SSL. 

Upload the SSL certificate for Web Services to the truststore used with Bridge for Git.