feat: update readme
This commit is contained in:
parent
55eb86ff0c
commit
0db871b63f
29
README.md
29
README.md
@ -12,40 +12,31 @@
|
|||||||
|
|
||||||
## Setup
|
## 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
|
```bash
|
||||||
docker compose up -d
|
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
|
```bash
|
||||||
# Linux
|
|
||||||
curl -k https://localhost:9000/roots.pem -o roots.pem
|
|
||||||
sudo trust anchor --store roots.pem
|
sudo trust anchor --store roots.pem
|
||||||
rm roots.pem
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Linux
|
#### Windows
|
||||||
```bash
|
|
||||||
curl -k https://localhost:9000/roots.pem -o roots.pem
|
|
||||||
sudo trust anchor --store roots.pem
|
|
||||||
rm roots.pem
|
|
||||||
```
|
|
||||||
|
|
||||||
### Windows
|
|
||||||
```powershell
|
```powershell
|
||||||
Invoke-WebRequest -Uri "https://localhost:9000/roots.pem" -OutFile "roots.pem"
|
|
||||||
Import-Certificate -FilePath "roots.pem" -CertStoreLocation "Cert:\LocalMachine\Root"
|
Import-Certificate -FilePath "roots.pem" -CertStoreLocation "Cert:\LocalMachine\Root"
|
||||||
Remove-Item "roots.pem"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### macOS
|
#### macOS
|
||||||
```bash
|
```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
|
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain roots.pem
|
||||||
rm roots.pem
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
|
Loading…
x
Reference in New Issue
Block a user