TROUBLESHOOTING
Fix HTTPS mixed content and redirect certificate failures
Follow the browser’s requests to find the failing resource or redirect destination. Each HTTPS hostname has its own certificate and configuration.
Find where it fails
An HTTPS page can request insecure HTTP resources, or redirect to a different hostname with a separate certificate problem. The first endpoint’s valid certificate does not cover every resource the page uses.
Inspect the redirect chain, browser console and failing resource URLs. A successful TLS probe does not execute the application or validate every embedded resource.
Work through the symptoms
An HTTPS page requests an HTTP resource
Correct the application’s resource URL or delivery configuration and inspect mixed-content policy.
A redirect reaches another hostname
Validate that destination’s certificate independently.
The initial TLS connection works but login fails
Replay the application flow and inspect its actual failing request rather than renewing an unrelated certificate.
Run the checks
curl -IL --max-redirs 5 --connect-timeout 10 --max-time 20 https://www.example.com/curl follows up to five redirects using HEAD requests here. Use the browser’s Network panel for GET requests, JavaScript requests and embedded resources.
Apply the fix
Update insecure resource URLs and the responsible redirect or application configuration. Validate each destination hostname’s TLS connection, then replay the browser flow and confirm its console and network panel no longer show the failing request.
Confirm the result
Replay the user flow and confirm the failing request now succeeds. Check the browser console for remaining mixed-content messages.
Check the deployment details
Resource URLs can come from JavaScript, API configuration, stylesheets and CDN settings as well as HTML templates. Check the final requested URL when a template change appears to have no effect.
Keep it monitored
Inventory important redirect and resource hostnames. Check their certificate expiry and use a browser test for the login, navigation or checkout flow that depends on them.