feat: update readme

This commit is contained in:
max_richter 2025-05-13 11:16:00 +02:00
parent 55eb86ff0c
commit 0db871b63f
Signed by: max
GPG Key ID: 51973802EF3F77C5

View File

@ -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