symfony-cli / symfony-cli

The Symfony CLI tool
https://symfony.com/download
GNU Affero General Public License v3.0
509 stars 102 forks source link

Automatically import the CA in the windows store when running the symfony-cli in WSL #461

Open stof opened 3 months ago

stof commented 3 months ago

When using the symfony CLI in WSL, installing the CA only in the Linux store is not enough because the browser is likely to be used on the Windows side. It would be great if the symfony CLI could automatically detect this case and install the CA in both the Linux store (as done today) and in the Windows store.

stof commented 3 months ago

https://github.com/symfony/symfony-docs/pull/19754 is suggested a workaround for now. However, I'm not sure this workaround is enough to make it work in Firefox as it has its own trust store instead of the windows trust store (and the workaround about manually importing the certificate only impacts the windows store).

stof commented 3 months ago

after trying, it looks like the workaround works. It looks like Firefox for Windows reads the Windows trust store.