Simply paste this in your chrome:
You should see highlighted text saying:
Allow invalid certificates for resources loaded from localhost
thisisunsafe anywhere on the window, and the browser should let you visit the page.
For a local self-signed cert that avoids arcane commands, specialized knowledge, and manual steps try
mkcert from this answer.