Install scoop

Installation under the administrator console has been disabled by default for security considerations. If you know what you are doing and want to install Scoop as administrator. Please download the installer and manually execute it with the -RunAsAdmin parameter in an elevated console. Here is the example:

irm -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin [-OtherParameters ...]
# I don't care about other parameters and want an one-line command
iex "& {$(irm} -RunAsAdmin" 

Install symfony cli

scoop install symfony-cli

Install certificate using symfony cli tools

symfony server:ca:install

Install cert manually with

scoop install mkcert
mkcert -install
mkcert "*" example.test localhost ::1

see more at

mkcert automatically creates and installs a local CA in the system root store, and generates locally-trusted certificates. mkcert does not automatically configure servers to use the certificates, though, that’s up to you.

If that did not solve your issue do the fallowing:

After installing docker through docker in file, you will read a basic usage guild line. In step 4 you will can see a link on how to fix the issue with Symfony SSL certificate in local environment:

## Getting Started

1. If not already done, [install Docker Compose] (

2. Run docker-compose build --pull --no-cache to build fresh images

3. Run docker-compose up (the logs will be displayed in the current shell)

4. Open `https://localhost` in your favorite web browser and [accept the auto-generated TLS certificate](

5. Run docker-compose down --remove-orphans to stop the Docker containers.


First investigate the info about the certificate installed in Symfony docker installation.

Open Google chrome settigns. In search box type “cert”. Or navigate to chrome://settings/security now click on manage certificates.

See if you can find your certificate on the list. If not you will have to export certificate first and import it to chrome using the window above.

Export Symfony local cert & Import it to Chrome

  1. On the page with the untrusted certificate (https:// is crossed out in red), click the lock > Certificate Information. NOTE: on newer versions of chrome, you have to open Developer Tools > Security, and select View certificate.
  2. Click the Details tab > Export. Choose PKCS #7, single certificate as the file format.
  3. Then follow my original instructions to get to the Manage Certificates page. Click the Authorities tab > Import and choose the file to which you exported the certificate, and make sure to choose PKCS #7, single certificate as the file type.
  4. If prompted certification store, choose Trusted Root Certificate Authorities
  5. Check all boxes and click OK. Restart Chrome.

Next continue with setting up imported cert:

  1. Using Chrome, hit a page on your server via HTTPS and continue past the red warning page (assuming you haven’t done this already).
  2. Open up Chrome Settings > Show advanced settings > HTTPS/SSL > Manage Certificates.
    Or go to (chrome://settings/security > click on “manage certificate button”).
  3. Click the Authorities tab and scroll down to find your certificate under the Organization Name that you gave to the certificate.
  4. Select it, click Edit (NOTE: in recent versions of Chrome, the button is now “Advanced” instead of “Edit”), check all the boxes and click OK. You may have to restart Chrome.

You should get the nice green lock on your pages now.


Would love your thoughts, please comment.x