---
title: Mutual TLS
url: https://www.tines.com/docs/credentials/mtls/
updated: 2024-05-28T18:55:43+00:00
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Credentials](https://www.tines.com/llm/docs/credentials.md)*

# Mutual TLS

*[View on tines.com](https://www.tines.com/docs/credentials/mtls/)*

## Introduction

[Mutual TLS](https://en.wikipedia.org/wiki/Mutual_authentication) (also known as *MTLS*, *mutual SSL*, *mutual authentication*, or *two-way authentication*) is a requirement of certain endpoints, where the server requires verification of the client’s identity.

Tines’ [HTTP Request Action](https://hub.tines.com/docs/actions/types/http-request) supports mutual TLS through the `mutual_tls` configuration option. This is most easily used alongside a special mutual TLS credential type.

## Creating a mutual TLS credential

Enter the following information in the New Credential page, after selecting mutual TLS from the dropdown:

- **Root certificate**: The root certificate file for the certificate authority (CA) responsible for signatures
- **Client certificate**: The certificate file issued by the CA for this client
- **Client private key**: The private key file for the client certificate

These files will often have the extension `.pem` or `.crt`, but any plain text file will be accepted.

## Using a mutual TLS credential with a HTTP Request Action

Include a [`CREDENTIAL` formula expression](https://www.tines.com/docs/formulas/referencing-data#from-credentials) in the action's `mutual_tls` configuration option.

### Example

For a mutual TLS credential named "mtls_example":

```
{
  "url": "https://internal.tool",
  "method": "get",
  "content_type": "json",
  "mutual_tls": "<<CREDENTIAL.mtls_example>>"
}
```
