Is it possible to prevent users to bypass a certificate warning showed in their browser, and if so, how?
Assuming we have no control on the remote server, and total control on the client computer.
The question relates to the Chrome web browser.
Is it possible to prevent users to bypass a certificate warning showed in their browser, and if so, how?
Assuming we have no control on the remote server, and total control on the client computer.
The question relates to the Chrome web browser.
You can use Chrome's Enterprise Management System to set these policies. On Windows, these are typically rolled out via GPO. On MacOS and Linux, there are other mechanisms, that can be found on the page I linked.
There are two relevant settings for you: SSLErrorOverrideAllowed and SSLErrorOverrideAllowedForOrigins.
SSLErrorOverrideAllowed can be set either to 1 (enabled, default) or 0 (disabled). When disabled, users are no longer able to bypass warnings (unless they can edit their registry).
SSLErrorOverrideAllowedForOrigins allows you to specify specific origins, for which users would be allowed or disallowed to override errors, instead of just enabling or disabling this functionality in general.
These also work for other webkit-based browsers, such as Chromium and Edge. There may be an equivalent in Firefox too, but I don't have any experience with Enterprise-managed Firefox.