# Setting up TLS cert

To insert your own certificate to match your domain to allow successful https traffic to your utopia instance, you can follow these steps:

1. Get a certificate and key which is linked to your domain names. Depending on your service you may need to list all the endpoints for utopia individually. It is recommended to get a wildcard cert here for your subdomain, this will allow you to use the ingress for other domain names at a later stage if required.
2. Log into your cluster using kubectl
3. navigate in your terminal to where you have the cert and key saved in individual files
4. you can run this command to build the tls cert in the kube cluster

```
kubectl create secret tls utopia-utopia-tls --key private-key.txt --cert ca-cert.txt
```

Or this if you have a specific namespace you have used for utopia

```
kubectl create secret tls utopia-utopia-tls --key private-key.txt --cert ca-cert.txt -n default
```

This will create your cert and if you use the name utopia-utopia-tls it will automatically link itself to the ingress

You should have no more certificate hassles.&#x20;

As always please [get in touch](/integration-hub/contact-us/open-chat-room.md) with us if you have any issues.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://university.utopiasync.com/integration-hub/installation-guide/kubernetes-installation/final-stage-dns-setup/setting-up-tls-cert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
