diff --git a/coordinator/userapi.go b/coordinator/userapi.go index cd4748106..f2513c057 100644 --- a/coordinator/userapi.go +++ b/coordinator/userapi.go @@ -134,7 +134,7 @@ func (s *userAPIServer) GetManifests(_ context.Context, _ *userapi.GetManifestsR Manifests: manifestBytes, Policies: policySliceToBytesSlice(policies), CoordinatorRoot: s.caChainGetter.GetCoordinatorRootCert(), - MeshRoot: s.caChainGetter.GetIntermCert(), + MeshRoot: s.caChainGetter.GetMeshRootCert(), } s.logger.Info("GetManifest succeeded") diff --git a/coordinator/userapi_test.go b/coordinator/userapi_test.go index 29eb5fc82..bf8ba0a83 100644 --- a/coordinator/userapi_test.go +++ b/coordinator/userapi_test.go @@ -294,7 +294,7 @@ func TestGetManifests(t *testing.T) { } require.NoError(err) assert.Equal([]byte("root"), resp.CoordinatorRoot) - assert.Equal([]byte("inter"), resp.MeshRoot) + assert.Equal([]byte("mesh"), resp.MeshRoot) assert.Len(resp.Policies, len(tc.policyStoreContent)) }) }