From 535dc3c145ba7b94e6c671c5ceb50f8362801a20 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 13 Jun 2024 15:51:14 +0200 Subject: [PATCH] Fix a WSL command in the Symfony Server doc --- setup/symfony_server.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/setup/symfony_server.rst b/setup/symfony_server.rst index 424b65cf1b5..5fa3e430b1c 100644 --- a/setup/symfony_server.rst +++ b/setup/symfony_server.rst @@ -111,8 +111,14 @@ words, it does everything for you. If you are doing this in WSL (Windows Subsystem for Linux), the newly created local certificate authority needs to be manually imported in Windows. The file is located in ``wsl`` at ``~/.symfony5/certs/default.p12``. The easiest way to - do so is to run ``explorer.exe \`wslpath -w $HOME/.symfony5/certs\``` from ``wsl`` - and double-click the ``default.p12`` file. + do so is to run the following command from ``wsl``: + + .. code-block:: terminal + + $ explorer.exe `wslpath -w $HOME/.symfony5/certs` + + In the file explorer window that just opened, double-click on the file + called ``default.p12``. Before browsing your local application with HTTPS instead of HTTP, restart its server stopping and starting it again.