---
title: "Access the host certificate for a VCH"
method: GET
path: "/target/{target}/vch/{vchId}/certificate"
---

# Access the host certificate for a VCH

`GET /target/{target}/vch/{vchId}/certificate`

A GET request on `/certificate` under a VCH resource will return the certificate the VCH uses when acting as a server, which clients may wish to download and add to a trust store.

## Path parameters

- `target` string, required
- `vchId` string, required

## Query parameters

- `thumbprint` string

## Response `200`

A VCH host certificate

- string

## Other responses

- `default` — An error occurred

## Changes

- **2017-10-02** `7feec05f8a24` — 1 info
  - endpoint added
- **2017-07-12** `7a99cfe3f0d8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/vmware/apis/vic-machine-api/changes/target/:target/vch/:vchId/certificate/get.md)

---

[API](https://skmtc.dev/vmware/apis/vic-machine-api.md) · [All operations](https://skmtc.dev/vmware/apis/vic-machine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/vic-machine-api/revisions/022f4170e516/schema)
