1
0
Fork 0

Add generate-keys.sh script for SSL and JWT key generation and update examples

- Added `generate-keys.sh` script to automate the generation of SSL certificates and JWT keys for testing.
- Updated examples and documentation across Docker, Kubernetes, Swarm, and static directories to include instructions for running the script.
- Removed hardcoded .pem files and replaced with dynamically generated keys and certificates.
- Emphasized testing-only usage of self-signed certificates.
This commit is contained in:
Joao Gilberto Magalhaes 2025-12-02 12:28:22 -05:00
parent d3149637b4
commit 3a4b428e46
10 changed files with 162 additions and 317 deletions

View file

@ -154,6 +154,20 @@ Access at: `http://localhost:1936`
## Running the Example
### Prerequisites: Generate SSL Certificates
Before running the examples, you need to generate the required SSL certificates:
```bash
# From the repository root
./examples/generate-keys.sh
```
This script automatically generates:
- SSL certificates for host1.local and host2.local
- JWT keys for authentication examples
- All other .pem files needed for testing
### 1. Start the Example
```bash