I've started noticing this behavior recently on. Even after accepting the cert, it appears to be invalidated by the browser upon switching to an insecure endpoint and back. For example:
- Navigate to https://example.com
- Accept cert (Chrome displays NET::ERR_CERT_COMMON_NAME_INVALID as the reason why the cert is invalid)
- Redirected to http://example.com
- Navigate to https://example.com/secure_url
- Initial page load works ok but cert seems to be invalidated as a result of this page load and we get net::ERR_INSECURE_RESPONSE in chrome.
- If the page is refreshed we have to accept the certificate again and at that point all of the assets that failed to load are available again.
This issue doesn't appear to be happening in Firefox and has't been reported in any other browser. Shouldn't the acceptance of the certificate be limited to once per session? Has Chrome's behavior in this case changed?