Here are the steps on how to allow invalid certificates in Chrome flags:
Open Chrome.
In the address bar, type chrome://flags/ and press Enter.
Search for "insecure".
Under "Allow invalid certificates for resources loaded from localhost", enable the flag.
Restart Chrome.
Once you have restarted Chrome, you should be able to access websites with invalid certificates. However, it is important to note that doing so can put your security at risk. Only allow invalid certificates for websites that you trust.
Here are some additional things to keep in mind when allowing invalid certificates in Chrome:
Websites with invalid certificates may not be secure.
You may be more vulnerable to phishing attacks and other online threats.
You may not be able to use certain features on websites, such as online banking or shopping.
If you are not sure whether or not to allow invalid certificates for a particular website, it is best to err on the side of caution and not allow it.