The "allow-insecure-localhost" flag in Microsoft Edge is a crucial setting for developers who need to test applications using self-signed SSL certificates on their local development environments. This flag allows the browser to bypass the usual security checks for localhost, enabling developers to work without the hassle of valid, trusted certificates during development. However, recent versions of Microsoft Edge have seen changes to this flag, causing confusion and frustration among developers.
In Microsoft Edge Version 88.0.705.50, many developers noticed the disappearance of the "allow-insecure-localhost" flag from edge://flags
. This meant they could no longer easily allow insecure SSL certificates for localhost, disrupting their development workflow.
The removal of the flag turned out to be an unintentional expiration. Later versions of Edge, such as 89.0.767.0, saw the flag return. This was due to a fix implemented in the Chromium project, which Edge is based on. However, the flag's lifespan was limited.
As of Edge v134, the "allow-insecure-localhost" flag is no longer available. The flag was set to expire in M130, and as M130 flags are now permanently expired, the setting is gone.
Depending on the version of Microsoft Edge you are using, different workarounds exist to allow insecure localhost connections:
edge://flags
.edge://policy
.SSLErrorOverrideAllowedForOrigins
policy.["https://localhost"]
.SSLErrorOverrideAllowed
policy.The ability to easily bypass SSL certificate checks for localhost is vital for web developers. It allows them to:
While disabling security checks for localhost can be convenient, it's crucial to remember the importance of secure development practices. Always ensure that your application uses proper SSL certificates in production and that you understand the security implications of bypassing these checks, even in development environments.
By understanding the changes to the "allow-insecure-localhost" flag and utilizing the appropriate workarounds, developers can continue to efficiently develop and test their applications using Microsoft Edge. Remember to stay updated with the latest browser versions and security best practices to ensure a smooth and secure development workflow.