In Chrome, you can use url chrome://flags/#allow-insecure-localhost to allow insecure localhost. Refer to this Stack Overflow for more information.

enter image description here


Update: arda-basoglu's steps are confirmed, this works, too:

  1. When you see "Your connection is not private...NET::ERR_CERT_INVALID" warning on Chrome,
  2. Just type "thisisunsafe" (anywhere...key listeners pick it up) and wait.

1. When you see "Your connection is not private...NET::ERR_CERT_INVALID" warning on Chrome,

2. Just type "thisisunsafe" and wait.


Note: Last time this was tested, Chrome latest version was 96.0.4664.110