From 0db871b63fe4ae58551bd8f3b37bff28d81fa485 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Tue, 13 May 2025 11:16:00 +0200 Subject: [PATCH] feat: update readme --- README.md | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 3c17d64..5cfe316 100644 --- a/README.md +++ b/README.md @@ -12,40 +12,31 @@ ## Setup -1. Clone this repository and navigate into the directory. +### 1. Clone this repository and navigate into the directory. -2. Start the services: +### 2. Start the services: ```bash docker compose up -d ``` -3. Trust the Step-CA root certificate: +### 3. Trust the Step-CA root certificate: + +Download the `roots.pem` from [https://localhost:9000/roots.pem](https://localhost:9000/roots.pem) and trust it on your system. +This is necessary for the certificates to be trusted by your browser. + +#### Linux ```bash -# Linux -curl -k https://localhost:9000/roots.pem -o roots.pem sudo trust anchor --store roots.pem -rm roots.pem ``` -### Linux -```bash -curl -k https://localhost:9000/roots.pem -o roots.pem -sudo trust anchor --store roots.pem -rm roots.pem -``` - -### Windows +#### Windows ```powershell -Invoke-WebRequest -Uri "https://localhost:9000/roots.pem" -OutFile "roots.pem" Import-Certificate -FilePath "roots.pem" -CertStoreLocation "Cert:\LocalMachine\Root" -Remove-Item "roots.pem" ``` -### macOS +#### macOS ```bash -curl -k https://localhost:9000/roots.pem -o roots.pem sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain roots.pem -rm roots.pem ``` ## How to Use