-
Lancer powershell en administrateur
-
Installer chocolately Lancer cette commande:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- Installer mkcert
choco install mkcert
- Créer les certificats Dans le dossier test (là où il y a server). Cela générera des fichiers localhost.pem et localhost-key.pem.
mkcert -install
mkcert localhost