When developing Symfony applications, it is very convenient to use the local Symfony server, which can also be set up for HTTPS very easily with the command:
symfony server:ca:install
This command creates a local certificate authority and a local certificate signed by it, and registers the authority in the system. On macOS and Windows, that is enough for Chrome too, because it uses the system trust store. On Linux, Chrome and Firefox keep their own certificate database (NSS), and the command adds the authority there only if it finds the certutil tool. Just install it and run the command again:
sudo apt install libnss3-tools
symfony server:ca:install
On Fedora, the package is called nss-tools. If you need to import the authority manually, it is in the Symfony CLI configuration: on Linux at ~/.config/symfony-cli/certs/rootCA.pem, or at ~/.symfony5/certs/rootCA.pem for installations created before Symfony CLI 5.17.
After restarting Chrome, your local Symfony applications should show a valid HTTPS certificate as well.