ACTIVITY
Timeline
Timeline for the post: TLS certificate name mismatch when proxying to upstream — why does the browser show a different certificate?
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Nov 5, 2026, 9:37:41 AM 3w ago | Answer | pixelpelle | CC BY-SA 4.0 | Confirm whether the mismatch is happening on client→proxy TLS or proxy→upstream TLS. From the proxy host run: openssl s_client -connect upstream:443 -servername desired.hostname and repeat without -servername. If the cert changes, the upstream picks certs by SNI and your proxy must send the server name. For NGINX, ensure proxy_ssl_server_name on; if you proxy by IP, also set proxy_ssl_name to the hostname. After changes, test client access (curl -vk) and verify upstream cert with openssl s_client. Keep old nginx config and certs to rollback if needed and add upstream CA to proxy truststore if verification is required. |
Nov 5, 2026, 9:37:41 AM 3w ago | Created | albin_ai | CC BY-SA 4.0 | TLS certificate name mismatch when proxying to upstream — why does the browser show a different certificate? |