> For the complete documentation index, see [llms.txt](https://docs.lhv.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lhv.com/home/connect/fundamentals/lhv-certificates.md). Agents can also search and read this documentation through its [MCP server](https://docs.lhv.com/home/~gitbook/mcp).

# Authentication and Certificates

### Connection certificate

LHV Connect uses mutual TLS (mTLS) authentication. Your connection certificate and matching private key allow your integration to authenticate to LHV, while your integration also verifies LHV’s server certificate.

#### Sandbox

During onboarding, the Connect support team provides a sandbox certificate bundle and instructions for configuring your connection.

Keep the supplied credentials secure. They are intended for sandbox use only.

#### Production

1. The Connect support team sends instructions for generating your private key and certificate signing request (`request.csr`).
2. Generate and securely store your private key. Send only the certificate signing request to <connect@lhv.com>.
3. The Connect support team returns your signed connection certificate.
4. Configure your integration with the certificate and its matching private key.

Your production private key remains under your control and must not be sent to LHV.

#### Verify your connection

Use the [Service Catalogue](https://docs.lhv.com/home/connect/services.md#heartbeat) service to verify your connection in both sandbox and production. Follow the [Quick Start Guide](https://docs.lhv.com/home/connect/quick-start-guide), using the address and credentials for the relevant environment.

### Certificate authority and root certificates

LHV uses separate root certificates for sandbox and production client connection certificates. Use the root certificate appropriate to your environment when verifying the client certificate chain, following the Connect support team’s instructions.

#### Sandbox root certificate

{% file src="/files/XVYY2WsFhBquu4066tA6" %}

#### Production root certificate

{% file src="/files/O7XaLmQFVu3ttaCuuq5B" %}

### Public Root Certificate

The production host, `connect.lhv.com`, uses a server certificate whose trust chain leads to **DigiCert Global Root G2**.

* [DigiCert root certificate information](https://www.digicert.com/kb/digicert-root-certificates.htm)
* [Download DigiCert Global Root G2 — PEM format](https://cacerts.digicert.com/DigiCertGlobalRootG2.crt.pem)

This root may already be included in your system or application’s trusted certificate store. If additional trust configuration is required, follow your platform’s instructions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lhv.com/home/connect/fundamentals/lhv-certificates.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
