Skip to content
You are viewing the documentation for Solo Enterprise for Istio, formerly known as Gloo Mesh (OSS APIs).

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

HTTPS access

Page as Markdown

Diagnose and resolve common issues when you serve the Solo UI over TLS on your own domain.

When you front the Solo UI with an HTTPS gateway, the gateway, the certificate, the route, and the identity provider must all agree on one hostname. Most failures come from one of them still naming the old address. Use the following sections when a step in the HTTPS access guide does not produce the result that it describes.

The Gateway never becomes programmed

kubectl get gateway solo-ui-https -n solo-enterprise reports PROGRAMMED as False, or the ADDRESS column stays empty.

Why it happens:

  • No controller watches the GatewayClass that you named, because the product that provides it is not installed.
  • The certificate secret does not exist in the solo-enterprise namespace, or it does not hold tls.crt and tls.key.
  • Your cluster has no load balancer provider, so the generated service stays Pending.

How to fix it:

  • Confirm that the class exists and is accepted: kubectl get gatewayclass.
  • Re-read the Accepted and Programmed conditions for the reason: kubectl get gateway solo-ui-https -n solo-enterprise -o jsonpath='{.status.conditions}'.
  • Confirm that the secret holds both keys, as in Create the TLS certificate secret.

The route is rejected with a hostname error

The HTTPRoute reports Accepted as False with a reason of NoMatchingListenerHostname.

Why it happens:

The hostnames value on the route falls outside the hostname on the listener. A listener for solo-ui.example.com accepts a route for that exact name or for a subdomain of a wildcard listener, but not for an unrelated name.

How to fix it:

Set both values from ${UI_HOST}, and confirm that the shell expanded the variable before kubectl received the manifest.

The browser shows a certificate warning

The page loads, but the browser reports that the certificate is not trusted or does not match the domain.

Why it happens:

  • The certificate is self-signed, or it is issued by an authority that the browser does not trust.
  • The certificate is issued for a different domain than the one in ${UI_HOST}.

How to fix it:

  • Read the subject and the subject alternative names of the certificate that the gateway serves: openssl s_client -connect ${GATEWAY_ADDRESS}:443 -servername ${UI_HOST} </dev/null 2>/dev/null | openssl x509 -noout -subject -ext subjectAltName.
  • Issue a certificate from a trusted authority for the domain in ${UI_HOST}, and update the secret from Create the TLS certificate secret.

Sign-in fails with a redirect URI error

The identity provider rejects the login with an error such as redirect_uri mismatch, or it returns the user to an error page instead of the UI.

Why it happens:

The redirect URIs registered in the provider still name the old address, or they use http rather than https.

How to fix it:

  • Confirm that both the backend client and the frontend client list https://${UI_HOST}/callback and https://${UI_HOST}/logout, as in Point the identity provider at the domain.
  • If you set a path prefix with ui.basePath, include the prefix in both URIs.
  • Sign in again in a private browser window. The frontend caches tokens, so a stale token survives the change.

The UI loads but every API call fails

The page renders, but panels stay empty and the browser console reports failed calls to /api.

Why it happens:

  • The HTTPRoute matches a narrower path than /, so requests to /api never reach the backend.
  • A separate hostname was given to the backend through ui.frontend.uiBackendHost, which makes the calls cross-origin.

How to fix it:

  • Confirm that the route matches the / prefix, as in Route to the UI.
  • Leave ui.frontend.uiBackendHost empty so that the frontend calls the backend at the same origin.