Skip to content
Vegha Docs

mTLS

Mutual TLS (mTLS) requires the client to present a certificate during the TLS handshake, in addition to the server presenting its own. Vegha supports mTLS by letting you attach a TLS client certificate to your requests.

Select mTLS in the Authorization tab and provide the certificate in one of two formats.

FieldDescription
Certificate filePath to the .pfx / .p12 bundle
PassphrasePassword protecting the bundle

A PKCS#12 file bundles the certificate and its private key together.

FieldDescription
Certificate filePEM-encoded client certificate
Key filePEM-encoded private key
PassphrasePassword for the key, if it is encrypted

Use PEM when your certificate and key are issued as separate files.

Like other auth methods, mTLS can be configured at the request, folder, or collection level, and children inherit the setting from their parent. See the Authentication overview for the full precedence rules.

In practice, set the client certificate on the collection or folder when every endpoint behind a host requires the same certificate, and override per request only when a specific endpoint needs a different one.

mTLS configures the client certificate you present. Other TLS behavior — proxy routing, trusting custom CA certificates, and TLS verification options — is configured separately. See Proxy & TLS.