Skip to main content

SSL/TLS Certificates

Zanthem Infrastructure coordinates SSL/TLS configuration for approved application endpoints.

TLS provides encrypted communication between clients and the infrastructure serving an application.

Production web applications should be accessed using HTTPS.

HTTPS Configuration​

Applications configured for public access typically use an HTTPS endpoint.

https://app.example.com

HTTPS configuration may involve:

  • Domain validation
  • Certificate issuance
  • Certificate deployment
  • Secure application routing
  • Certificate renewal
  • HTTP-to-HTTPS redirection

Zanthem manages the infrastructure-side configuration according to the established hosting environment.

Certificate Responsibilities​

ResponsibilityZanthemClient
Managed endpoint certificate configurationYesNo
Managed endpoint certificate monitoringYesNo
Managed certificate renewalYesNo
Client-owned DNS configurationNoYes
Domain registration renewalNoYes
Application-generated secure URLsNoYes
Application security configurationNoYes

Responsibilities may differ when client-managed certificates or additional external infrastructure are involved.

Certificate Provisioning​

When a custom domain is connected to an application, Zanthem will determine the appropriate certificate configuration.

Certificate provisioning may require:

  1. Approval of the requested domain.
  2. Configuration of the application routing.
  3. Verification of DNS configuration.
  4. Validation of domain control.
  5. Certificate issuance and deployment.
  6. Verification of HTTPS connectivity.

Your account manager will communicate any additional configuration requirements.

Domain Validation​

Certificate authorities require verification that the requesting party is authorized to obtain a certificate for the requested domain.

Domain validation methods may include:

HTTP Validation​

Validation is performed through an approved HTTP endpoint associated with the domain.

This method may require the domain to resolve to the appropriate infrastructure before validation can complete.

DNS Validation​

Validation is performed using a DNS record associated with the requested domain.

For example:

TypeNameValue
TXT_acme-challengeEXAMPLE_VALIDATION_VALUE

The example record is illustrative.

Your account manager will provide the actual record name and validation value, where required.

Some certificate configurations may use delegated validation records to support certificate renewal.

Do not remove validation records until your account manager confirms that they are no longer required.

Certificate Renewal​

For certificates managed by Zanthem, renewal procedures are handled by the hosting infrastructure or authorized Zanthem personnel.

Clients must maintain the DNS configuration necessary for continued certificate validation.

Certificate renewal may fail if:

  • Required DNS records are removed.
  • The domain expires.
  • Domain routing is changed.
  • Certificate authority restrictions are modified.
  • Required validation endpoints become inaccessible.

Notify your account manager before modifying DNS records associated with an active application.

Client-Managed Certificates​

Organizations with specific certificate requirements should discuss those requirements during onboarding.

Requirements may include:

  • Certificates issued by an approved certificate authority
  • Organization-specific certificate policies
  • Wildcard certificates
  • Existing enterprise certificate arrangements
  • Mutual TLS requirements

Support for these configurations is subject to technical evaluation and the applicable service agreement.

Private keys and certificate credentials must only be delivered through an approved secure communication method.

:::warning Private key security

Never send certificate private keys through ordinary email, public repositories, support messages, or unsecured file-sharing services.

Contact your account manager to establish an approved credential delivery method.

:::

HTTP-to-HTTPS Redirection​

Public applications should ordinarily direct unencrypted HTTP requests to their corresponding HTTPS endpoint.

For example:

http://app.example.com

May redirect to:

https://app.example.com

Redirect behavior is configured according to the application requirements.

Applications should use HTTPS URLs directly for API requests, authentication operations, and sensitive data transmission rather than relying on automatic redirects.

Application HTTPS Awareness​

Applications hosted behind managed routing infrastructure may receive requests through an internal network connection after TLS has been terminated upstream.

Applications must account for this architecture when generating URLs, redirects, or cookies.

Applications may receive forwarded request information indicating the original public request protocol.

For example:

X-Forwarded-Proto: https

Applications must only trust forwarded headers from approved routing infrastructure.

Configure framework-specific trusted proxy settings according to the deployment information supplied by Zanthem.

Do not globally trust forwarded headers from arbitrary network sources.

Application Base URLs​

Applications should configure their public base URL using the assigned HTTPS endpoint.

Example Configuration​

APP_URL=https://app.example.com
PUBLIC_URL=https://app.example.com

Actual environment variable names depend on the application framework.

Incorrect public URL configuration may cause:

  • Incorrect authentication redirects
  • Redirect loops
  • Insecure generated links
  • Cookie configuration issues
  • Mixed content warnings

Secure Cookies​

Applications using authentication sessions should apply appropriate cookie security settings.

Where applicable, session cookies should use:

AttributePurpose
SecureRestricts cookie transmission to secure connections.
HttpOnlyPrevents ordinary client-side JavaScript access.
SameSiteControls cookie transmission in cross-site request contexts.

Cookie configuration must account for the application's authentication architecture and cross-site integration requirements.

Some cross-site integrations may require SameSite=None together with Secure.

Applications should not disable cookie security protections to resolve deployment or authentication problems.

Mixed Content​

Mixed content occurs when an HTTPS application attempts to load resources through insecure HTTP connections.

Examples include:

  • JavaScript files
  • Stylesheets
  • Images
  • API requests
  • Embedded content

Browsers may block insecure resources or display security warnings.

Applications should reference secure resource URLs wherever HTTPS is required.

Incorrect:

http://api.example.com

Correct:

https://api.example.com

WebSocket Connections​

Applications using WebSockets over HTTPS should use secure WebSocket connections.

wss://app.example.com/socket

WebSocket applications may require additional routing, timeout, or protocol configuration.

Communicate WebSocket requirements during application onboarding.

HTTP Strict Transport Security​

HTTP Strict Transport Security (HSTS) instructs compatible browsers to use HTTPS for subsequent requests to a domain.

An example HSTS response header is:

Strict-Transport-Security: max-age=31536000

HSTS configuration must be coordinated with the application and domain security requirements.

The includeSubDomains and preload options may affect additional services under the same domain.

Do not enable these options without reviewing the HTTPS readiness of all affected domains.

Verifying HTTPS Connectivity​

Browser Verification​

Navigate to the assigned application endpoint.

https://app.example.com

Confirm that the browser does not report certificate or connection security warnings.

Command-Line Verification​

Inspect the HTTPS response:

curl -I https://app.example.com

Inspect the certificate presented by the public endpoint:

openssl s_client \
-connect app.example.com:443 \
-servername app.example.com \
-verify_hostname app.example.com \
-verify_return_error

Certificate information may vary depending on the routing and certificate architecture associated with the endpoint.

Do not bypass certificate verification when testing production applications.

Common SSL/TLS Issues​

Certificate Not Trusted​

Possible causes include:

  • Certificate issuance is incomplete.
  • Incorrect certificate is being presented.
  • Certificate chain validation failed.
  • Certificate has expired.
  • Client trust store is outdated.

Contact your account manager with the affected hostname and observed error.

Certificate Hostname Mismatch​

Possible causes include:

  • Domain is not included in the certificate.
  • Incorrect DNS destination.
  • Application routing is not configured.
  • Incorrect endpoint is being accessed.

Verify the domain against the approved application configuration.

Certificate Issuance Failure​

Possible causes include:

  • Incorrect DNS records.
  • Domain validation failure.
  • Restrictive CAA records.
  • Required validation endpoint unavailable.
  • Conflicting proxy configuration.

Confirm the DNS configuration and contact your account manager.

HTTPS Redirect Loop​

Possible causes include:

  • Conflicting application redirect rules.
  • Incorrect trusted proxy configuration.
  • Incorrect public application URL.
  • Unexpected proxy encryption settings.

Review application configuration before requesting infrastructure changes.

Authentication Callback Failure​

Authentication failures following HTTPS configuration changes may be associated with:

  • Unregistered HTTPS callback addresses.
  • Incorrect application base URL.
  • Incorrect logout redirect addresses.
  • Cookie security configuration.
  • Incorrect trusted proxy configuration.

View authentication client documentation