Skip to content

Commit

Permalink
update chrome flag in local https
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 27, 2023
1 parent e6c4825 commit 4df6b84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/content/docs/recipes/using-local-https.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ You can add your self-signed certificate to the system's trusted certificates. P
### Chrome / Brave

1. Open `chrome://flags` (or `brave://flags` if using Brave);
1. Search for `allow-insecure-localhost` flag in the list;
1. Search for `unsafely-treat-insecure-origin-as-secure` flag in the list;
1. Select the "Enabled" option next to the flag.
1. Enter your local host into the field.

> If encountering certificate fetching/validation issues, set the `ignore-certificate-errors` flag to "Enabled".
> If encountering insecure origin issues, set the `unsafely-treat-insecure-origin-as-secure` flag to `https://localhost`.
### Firefox

1. Open your local application served by HTTPS;
Expand Down

0 comments on commit 4df6b84

Please sign in to comment.