1. Home
  2. Documentation
  3. AI Gateway
  4. Custom Inbound

Custom Inbound

Point your own domain to the AI Gateway and configure the inbound host (protocol, domain, and certificate).

Custom Inbound lets you expose your own domain as the entry point of the AI Gateway, instead of the default domain provided by Sensedia. This page explains how to point your domain's DNS to your tenant's gateway and how to configure the inbound host under Virtual Hosts > Inbound Address.

NOTE

This page covers the host configuration (protocol and domain) and enabling mTLS on that host. Edge certificate registration is done under Virtual Hosts > Certificates, and the Trust CAs used by mTLS are registered under Virtual Hosts > Trust Stores. The Audit Log records for certificate operations (Virtual Hosts > Certificates), for Trust CA operations (Virtual Hosts > Trust Stores), and for changing the inbound host (Virtual Hosts > Inbound Address) are documented on this page, as are the Certificates permissions and the Trust Stores permissions.

Learn how to:

Before you start

  • A domain you control (for example, api.yourcompany.com), to create the DNS record.
  • For the HTTPS or HTTP and HTTPS protocols, an edge certificate already registered in the AI Gateway (under Virtual Hosts > Certificates) β€” it will be referenced by the Certificate field in Step 3.
  • If you plan to enable mTLS (see Register the Trust CA and enable mTLS), at least one Trust CA already registered under Virtual Hosts > Trust Stores β€” or register it as part of the same flow.
  • Your tenant's default hostname in the AI Gateway, provided by Sensedia during onboarding:
Environment
Tenant's default hostname
Production<tenant-alias>-ai-gateway.sensedia.com
Testing / Staging<tenant-alias>-ai-gateway-tst.sensedia-eng.com

This hostname resolves to your tenant's Network Load Balancer (NLB) in the AI Gateway.

Point your DNS to the tenant NLB

In your domain's DNS provider, create a CNAME record for the domain you want to use as inbound (for example, api.yourcompany.com) pointing to your tenant's default hostname (see the table above).

NOTE

DNS propagation can take a few minutes. Before configuring the inbound host, confirm the CNAME already resolves β€” for example, with dig +short api.yourcompany.com.

Configure the inbound host

Step 1

In the sidebar, go to Virtual Hosts > Inbound Address. The screen opens in read-only mode. With a host configured, it shows the Inbound configuration card, with the current configuration. With no custom host, it shows the message No custom inbound host configured, saying that the gateway is only reachable through the default *.sensedia.com endpoint, and the Configure inbound host button.

Step 2

Click Edit at the top of the card. The Update Inbound Address panel opens, with the form pre-filled with the current configuration. Edit requires View Inbound Address + Update Inbound Address, see Inbound Address permissions.

If no host is configured yet, click Configure inbound host instead of Edit; it requires the same permissions. The panel opens with HTTP and HTTPS selected, and the Security block is already visible.

Step 3

Fill in the form fields (see Form fields). In the Security block, the Certificate field is only shown when the selected Protocol is HTTPS or HTTP and HTTPS.

Step 4

Click Save changes to persist the configuration. The panel closes and you return to the card, already updated. Cancel (or the X or the Esc key) closes the panel without saving.

The Add certificate and Add Trust Store shortcuts are inside the panel, on the Certificate and Trust stores fields. The permissions for each one are in the Shortcuts in the panel row of Inbound Address permissions.

When you save, the AI Gateway starts accepting traffic on the configured domain. Your tenant's default endpoint (table in the previous section) keeps working normally.

Change the protocol

You can reconfigure the inbound host as many times as needed β€” for example, switching from HTTP and HTTPS to HTTPS to disable your domain's HTTP port. Selecting HTTP automatically clears the Certificate field, which disappears from the form. Selecting HTTP also turns off mTLS, if it was enabled, and clears the Trust CAs selected in Trust stores β€” once saved, the client-certificate requirement no longer applies to the entire gateway. The saved configuration always replaces the previous one.

Register the Trust CA and enable mTLS

mTLS (mutual TLS) requires the client to present a valid certificate, signed by a registered Trust CA, to connect to the gateway β€” an additional requirement on top of the server validation already provided by the certificate configured in Step 3. mTLS can only be enabled when the host's Protocol is HTTPS or HTTP and HTTPS.

MTLS APPLIES TO THE ENTIRE GATEWAY, NOT ONLY TO THIS HOST

Enabling mTLS requires a valid client certificate on every HTTPS host on this gateway, not only on this custom host. This includes the *.sensedia.com HTTPS URL hosted by Sensedia for this tenant (table in Before you start), which will start rejecting clients that do not present a certificate trusted by one of the selected Trust CAs. There is no per-host or per-domain isolation for mTLS β€” only enable it once you have confirmed that every client currently accessing your tenant's default endpoint can also present a valid certificate.

Step 1 β€” Register the Trust CA

Go to Virtual Hosts > Trust Stores and click Create Trust Store. Enter a Name to identify the Trust CA and paste (or upload) the CA certificate in PEM format in the Trust CA (PEM) field β€” the field accepts a single certificate or a chain of up to 10 concatenated certificates. Save to complete the registration. Repeat for each Trust CA that should be accepted β€” mTLS accepts 1 to 8 Trust CAs per host.

Step 2 β€” Enable mTLS and select the Trust CAs

Back on Virtual Hosts > Inbound Address, click Edit (or Configure inbound host, if no host is configured yet; in that case, also fill in Host and Certificate, because the panel opens with HTTP and HTTPS) and, in the Update Inbound Address panel, in the Security block, turn on the Enable mTLS switch and select one or more registered Trust CAs in the Trust stores field (the Add Trust Store shortcut opens the registration screen if one is missing).

Step 3 β€” Save

Click Save changes. From this point on, the certificate presented by each client is validated against the selected Trust CAs: it is accepted if signed by any of them.

To disable mTLS, click Edit on Virtual Hosts > Inbound Address, turn off the Enable mTLS switch in the Update Inbound Address panel and save. The client-certificate requirement is removed from every HTTPS host on the gateway, and validation goes back to server-only (standard TLS), as it was before enabling mTLS.

Audit Log record

Registering, editing, or deleting a certificate (in Virtual Hosts > Certificates) generates a record you can query in the Access Control Audit Log, filtering by Certificate β€” with the date, the author, the outcome of the operation, and the object's content. Registering, editing, or deleting a Trust CA (in Virtual Hosts > Trust Stores) also generates a record, filtering by Trust Store, with the same date, author, and outcome data; the object's content is specific to each type. Viewing, listing, or opening the detail of a certificate or of a Trust CA doesn't generate a record: only write operations are audited.

The private key never appears in the certificate's record, regardless of the outcome. On success, the record usually carries the certificate's identifier, the type, the name, the expiration date, and whether a private key was submitted on the operation β€” this field only indicates that a key came in on the request, not that it changed; resubmitting the same key also marks it. A write refused during processing also generates a record, with a failure outcome, carrying the reason for the refusal and the configuration that was attempted.

The CA material never appears in the Trust CA's record, regardless of the outcome. On success, the record usually carries the Trust CA's identifier, the name, and how many CA certificates that Trust CA's PEM holds β€” the content after the operation on registration and editing, and the content read before removal on deletion. The count refers only to that Trust CA, not to the Trust CAs selected on the host, and doesn't tell which certificates make up the chain. A write refused during processing also generates a record, with a failure outcome, carrying the reason for the refusal and the configuration that was attempted, without the material that was sent.

A request refused right at the entry point (for example, a required field that is missing or blank) generates no record at all. From the moment the operation is processed, both success and failure generate a record: deleting a certificate that is in use by an active configuration and deleting a certificate that no longer exists both show up in the trail as a failure. The same holds for Trust CAs, and it holds even when the refusal comes from the content that was sent: deleting a Trust CA that is in use by an active mTLS configuration, passing an identifier that no longer exists, saving with a name that is already registered, and sending a PEM that is malformed or above the size limit all show up in the trail as a failure β€” including the ones answered as an invalid request, because that check happens inside the operation.

Saving the inbound host (in Virtual Hosts > Inbound Address) also generates a record, always a change: this configuration is unique per tenant, so there is no create or delete, only replacing the address. The record is queryable by filtering by Inbound Address; combine that filter with Product = AI Gateway, because the Inbound Address value is reused from API Platform and the change-type list isn't scoped by product (without the product filter, the search also returns API Platform records). On the Audit Logs screen, the Name column shows, on success, the host saved in lowercase; on a failure, the host exactly as it was sent in the request. On success, the record's content is the configuration after saving: protocol, host, the selected certificate, the selected Trust CAs (by identifier), and whether mTLS is enabled, never the certificate or CA material. The record only shows whether mTLS is on or off for this host; remember that setting applies to the whole gateway, as described in Register the Trust CA and enable mTLS. A write refused during processing also generates a record, with a failure outcome, carrying the reason for the refusal and the configuration that was attempted, with the same fields as a success record.

A request refused right at the entry point (a missing or blank protocol or host, a missing header, a Host, certificate identifier, or Trust CA identifier longer than 253 characters, or more than 100 selected Trust CAs) generates no record. From the moment the operation is processed, both success and failure generate a record: an invalid host format, a missing certificate with HTTPS or HTTP and HTTPS, a Trust CA selection that is incoherent with mTLS, 9 to 100 selected Trust CAs, or a referenced Trust CA that no longer exists all show up in the trail as a failure. Querying the current host configuration doesn't generate a record either.

Querying the Audit Log uses the Audit List (access-control.audits.list) and Audit View (access-control.audits.view) permissions, which already govern that screen.

Form fields

The table below covers all fields visible in the form, grouped in the Address and Security blocks.

Block
Field
Type
Required
Rules
AddressHostTextYesThe domain pointed in the DNS step (placeholder shown in the field: api.customer.com). Do not include a scheme (http:///https://) or a path (/) β€” hostname only.
AddressProtocolSelectable cardsYesHTTP (port 80, no TLS certificate), HTTPS (port 443, requires a TLS certificate), and HTTP and HTTPS (exposes both ports; HTTPS requires a certificate).
SecurityCertificateSelectRequired when Protocol is HTTPS or HTTP and HTTPSLists the edge certificates already registered under Virtual Hosts > Certificates; the Add certificate shortcut opens the registration form. The field is not shown when Protocol is HTTP.
SecurityEnable mTLSSwitchNoRequires a valid client certificate, signed by one of the selected Trust CAs, on every HTTPS host on the gateway β€” see the warning in Register the Trust CA and enable mTLS. Can only be turned on when Protocol is HTTPS or HTTP and HTTPS.
SecurityTrust storesMultiselectRequired when Enable mTLS is onLists the Trust CAs already registered under Virtual Hosts > Trust Stores; the Add Trust Store shortcut opens the registration form. Accepts 1 to 8 Trust CAs; the client certificate is accepted if signed by any of the selected ones. Not displayed while Enable mTLS is off.

Common errors

Situation
Behavior
Host with a scheme (http:///https://), with a /, or an invalid formatThe configuration is rejected; the previously configured inbound host is not changed.
HTTPS or HTTP and HTTPS protocol without a selected certificateThe configuration is rejected; the previously configured inbound host is not changed.
Enable mTLS turned on without any Trust CA selected in Trust storesThe configuration is rejected; the previously configured inbound host is not changed.
Trust stores has one or more Trust CAs selected while Enable mTLS is offThe configuration is rejected; the previously configured inbound host is not changed.
More than 8 Trust CAs selected in Trust storesThe configuration is rejected; the previously configured inbound host is not changed.
A selected Trust CA no longer exists at save time (for example, removed by another user)The configuration is rejected; the previously configured inbound host is not changed.
Enable mTLS with Protocol set to HTTPThe Security block is not displayed with HTTP, so the switch cannot be turned on; this state cannot be reached through the form.

Certificates permissions

Access to each action on the Virtual Hosts > Certificates screen depends on its own permission. Without the corresponding permission, the screen element does not appear; it is never shown merely as disabled.

Permissions are granted in Access Control, on the Roles screen, under the AI Gateway product. The table below lists each one exactly as Access Control displays it.

Permission
Group in AC
Description in AC
Identifier
List CertificatescertificatesAllows listing inbound certificatesai-gateway.certificates.list
View CertificatecertificatesAllows viewing an inbound certificateai-gateway.certificates.view
Create and Update CertificatescertificatesAllows creating and editing inbound certificatesai-gateway.certificates.create-update
Delete CertificatescertificatesAllows deleting inbound certificatesai-gateway.certificates.delete
Action
What it unlocks
Required permissions
ListCertificates item in the Virtual Hosts menu and the certificate listingList Certificates
ViewView icon on the row and the Certificate details screenList Certificates + View Certificate
CreateCreate Certificate button on the Certificates listingList Certificates + Create and Update Certificates
Add via shortcutAdd certificate shortcut on the Certificate field of the Update Inbound Address panel of Inbound AddressSee the Shortcuts in the panel row in Inbound Address permissions
EditEdit button inside Certificate detailsList Certificates + View Certificate + Create and Update Certificates
DeleteDelete icon on the rowList Certificates + Delete Certificates

A control without its permission is not rendered; a Certificates screen reached directly by URL without its permission lands on the AI Gateway's own access denied screen, not on Access Control's.

EDITING REQUIRES VIEWING

The Edit button only exists inside the Certificate details screen. Because of that, a user holding Create and Update Certificates but not View Certificate has no path to edit an existing certificate. This is expected platform behavior, not a bug.

THE PRIVATE KEY NEVER APPEARS IN THE DETAILS

The Certificate details screen never displays the certificate's private key, regardless of the granted permission.

Trust Stores permissions

Access to each action on the Virtual Hosts > Trust Stores screen depends on its own permission. Without the corresponding permission, the screen element does not appear; it is never shown merely as disabled. The exception is the Delete icon of a Trust CA that is in use, described below.

Permissions are granted in Access Control, on the Roles screen, under the AI Gateway product. The table below lists each one exactly as Access Control displays it.

Permission
Group in AC
Description in AC
Identifier
List Trust Storestrust-storesAllows listing inbound trust storesai-gateway.trust-stores.list
View Trust Storetrust-storesAllows viewing an inbound trust storeai-gateway.trust-stores.view
Create and Update Trust Storestrust-storesAllows creating and editing inbound trust storesai-gateway.trust-stores.create-update
Delete Trust Storestrust-storesAllows deleting inbound trust storesai-gateway.trust-stores.delete
Action
What it unlocks
Required permissions
ListTrust Stores item in the Virtual Hosts menu and the Trust CA listingList Trust Stores
ViewView icon on the row and the read-only Trust store details screenList Trust Stores + View Trust Store
CreateCreate Trust Store button on the Trust Stores listingList Trust Stores + Create and Update Trust Stores
Add via shortcutAdd Trust Store shortcut on the Trust stores field of the Update Inbound Address panel of Inbound AddressSee the Shortcuts in the panel row in Inbound Address permissions
EditEdit button inside Trust store detailsList Trust Stores + View Trust Store + Create and Update Trust Stores
DeleteDelete icon on the rowList Trust Stores + Delete Trust Stores

A control without its permission is not rendered; a Trust Stores screen reached directly by URL without its permission lands on the AI Gateway's own access denied screen, not on Access Control's.

EDITING REQUIRES VIEWING

The Edit button only exists inside the Trust store details screen. Because of that, a user holding Create and Update Trust Stores but not View Trust Store has no path to edit an existing Trust CA. This is expected platform behavior, not a bug.

Trust CA in use by mTLS

The Trust Stores listing has an Inbound Address column. It shows In use when the Trust CA is selected in the Inbound Address with mTLS enabled, and Not in use otherwise. The same information appears in the Inbound Address field of Trust store details.

A Trust CA that is in use cannot be deleted. The Delete icon stays visible on the row but is locked: the tooltip shows In use by the Inbound Address mTLS and, when clicked, the screen shows This trust store validates client certificates in the Inbound Address mTLS. Remove it from the inbound selection before deleting it. No deletion is sent. To delete it, open Virtual Hosts > Inbound Address and select another Trust CA in its place in the Trust stores field, or turn mTLS off. The field cannot be empty while mTLS is on.

Knowing that a Trust CA is in use requires View Inbound Address, in addition to the Trust Stores permissions. Without it, the column shows β€” (and so does the details field), with a hint that the link is unknown, and the Delete icon is not locked. If you try to delete a Trust CA that is in use under that condition, the server refuses the deletion when you confirm. The server refusal applies in every case: the lock on the screen is a convenience.

THE TRUST CA IS PUBLIC MATERIAL

The Trust store details screen shows the Trust CA (PEM) in read-only mode. The field holds certificates only, never a private key. A certificate is public material, so View Trust Store exposes no secret.

Inbound Address permissions

Access to the Virtual Hosts > Inbound Address screen depends on its own permissions. Without View or Update, the corresponding button or screen does not appear. The list permissions of other groups (certificates and Trust CAs) do not stop the screen from opening: they disable Save changes and the selects, with the reason visible, and hide the Add certificate and Add Trust Store shortcuts, as described below.

Permissions are granted in Access Control, on the Roles screen, under the AI Gateway product. The table below lists each one exactly as Access Control displays it.

Permission
Group in AC
Description in AC
Identifier
View Inbound Addressinbound-addressAllows viewing the inbound host, protocol and mTLS configurationai-gateway.inbound-address.view
Update Inbound Addressinbound-addressAllows configuring the inbound host, protocol, certificate and mTLSai-gateway.inbound-address.update

This screen also uses permissions from two other groups. The certificate ones, List Certificates and Create and Update Certificates, are in Certificates permissions. The Trust Stores ones, List Trust Stores and Create and Update Trust Stores, are in Trust Stores permissions.

Action
What it unlocks
Required permissions
ViewInbound Address item in the Virtual Hosts menu and the Inbound configuration cardView Inbound Address
EditEdit button on the card and the Update Inbound Address panelView Inbound Address + Update Inbound Address
Shortcuts in the panelAdd certificate (Certificate field) and Add Trust Store (Trust stores field)View Inbound Address + Update Inbound Address to see the shortcuts; Add certificate also requires Create and Update Certificates and List Certificates; Add Trust Store also requires List Trust Stores and Create and Update Trust Stores

Without Update Inbound Address, the empty screen (no host configured) does not show the Configure inbound host button; it shows a line saying that configuring the host requires that permission.

The names of the certificate and of the Trust CAs depend on permissions from other groups:

Where it appears
With the permission
Without the permission
Card: Inbound certificateList Certificates shows the name and the expiration dateThe card shows the identifier, with a hint that the name is unavailable without List Certificates
Card: Trust storesList Trust Stores shows the namesThe card shows the identifiers, with a hint that the names are unavailable without List Trust Stores
Panel: Certificate selectList Certificates lists the optionsThe select is empty and says the list is unavailable
Panel: Trust stores selectList Trust Stores lists the optionsThe select is empty and says the list is unavailable

When the select of a required field is unavailable, the Save changes button is disabled, with the reason visible. This applies to Certificate with the HTTPS or HTTP and HTTPS protocol, and to Trust stores with mTLS enabled. Without List Certificates or List Trust Stores, the matching select is still rendered, disabled and empty; what stops appearing are the shortcuts, as set out in the Shortcuts in the panel row of the actions table. A route reached directly by URL without its permission lands on the AI Gateway's own access denied screen, not on Access Control's.

EDITING REQUIRES VIEWING

The /inbound-address/edit route requires View Inbound Address before it checks Update Inbound Address. A user with Update Inbound Address but without View Inbound Address lands on the access denied screen when opening /inbound-address/edit, even by typing the URL directly β€” so they cannot reach the edit panel, either through Edit or through Configure inbound host. This is expected platform behavior, not a bug.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more