Loading

CloudHub 2.0 Private Space -CA Path Certificate Cannot Be Updated on Existing TLS Context

Veröffentlichungsdatum: Sep 24, 2026
Beschreibung

When editing an existing TLS Context in Anypoint Runtime Manager (Private Spaces → Domain & TLS), customers may observe the following:

- The Public Certificate field displays the filename correctly and allows re-upload
- The CA Path Certificate field displays "Unknown file name" and the upload button is non-functional

This occurs because the Public Certificate and CA Path Certificate are stored together as a single certificate chain bundle. Once the TLS Context is created, the bundle is treated as a single unit and individual components cannot be updated independently.

This affects the following operations on an existing TLS Context:
- Adding a CA Path Certificate if one was not provided at creation
- Updating or replacing an existing CA Path Certificate (e.g. intermediate certificate renewal)
- Removing an existing CA Path Certificate

 

Root Cause

By design, the certificate chain (leaf certificate + intermediate CA + root CA) is stored as a single PEM bundle at TLS Context creation time. Any modification to any part of the chain — including renewing the intermediate certificate — requires the full bundle to be re-uploaded by creating a new TLS Context.

Note: When only the intermediate certificate is renewed, the leaf certificate's expiry and fingerprint remain unchanged. However, chain validation breaks because the intermediate embedded in the bundle no longer matches the newly issued intermediate. The full chain must therefore be re-uploaded even though the leaf certificate itself has not changed.

Lösung

To add or update the CA Path Certificate on an existing TLS Context, create a new TLS Context with a different name and upload all components together at creation time.

Steps:

1. Navigate to Anypoint Runtime Manager → Private Spaces → <your Private Space> → Domain & TLS
2. Click Create TLS Context
3. Enter a new name (e.g. my-tls-context-v2)
4. Under Source, select Upload PEM files
5. Upload the following in the same operation:
   - Public Certificate — leaf/server certificate (PEM)
   - Private Key — private key matching the leaf certificate (PEM)
   - CA Path Certificate — intermediate and root CA certificates concatenated in a single PEM file (order: intermediate → root)
6. Click Save
7. Update your applications or custom domain bindings to reference the new TLS Context
8. Verify the full certificate chain is being served:
openssl s_client -connect <your-domain>:443 -servername <your-domain>
   Confirm the output shows the leaf certificate, intermediate, and root under Certificate chain
9. Once verified, remove the old TLS Context

Zusätzliche Ressourcen

- PEM bundle order matters: The CA Path Certificate file must list intermediate certificate(s) before the root CA. Incorrect ordering can cause handshake failures.
- No downtime: Updates to a TLS Context take effect immediately at the Private Space ingress layer. No application restart or redeploy is required.
- Browsers vs. integration clients: Modern browsers cache intermediate certificates and may validate the chain even without a CA Path configured. Non-browser clients (API-to-API, JVM-based integrations, IoT) require the server to present the full chain. Always configure the CA Path for production environments.

Nummer des Knowledge-Artikels

005460493

 
Laden
Salesforce Help | Article