How to Access HTTPS:// on Localhost in Google Chrome

Priesdelly
Feb 10, 2024

--

When developing or testing a website locally, you might need to access it via HTTPS in Google Chrome. However, Chrome typically blocks this due to security concerns. To bypass this, you can modify a specific Chrome configuration. Follow these steps to enable access to HTTPS:// on localhost

1. Launch Google Chrome.

2. Enter chrome://flags/#allow-insecure-localhost in the address bar.

3. This action will direct you to a configuration page within Chrome.

4. Locate the setting titled ‘Allow invalid certificates for resources loaded from localhost’ and change it to ‘Enabled’.

5. Restart Google Chrome to apply the changes.

6. Once done, you can now access https://localhost it as per your requirements.

This method allows you to test your website in a more secure environment, even during local development.

--

--