58 lines
2.0 KiB
Markdown
58 lines
2.0 KiB
Markdown
# Folder Structure
|
|
|
|
This directory is organized for efficient certificate management:
|
|
|
|
## 📁 Structure Overview
|
|
|
|
```
|
|
zertifizierung/
|
|
├── ca/ # Certificate Authority files
|
|
│ └── ucs-ca-cert.* # UCS CA certificates (crt, der, pem)
|
|
│
|
|
├── certs/ # Generated certificates organized by system
|
|
│ ├── fritzbox/ # Fritz!Box router certificates
|
|
│ ├── vscode/ # VS Code server certificates
|
|
│ ├── proxmox/ # Proxmox host certificates
|
|
│ ├── homeassistant/ # Home Assistant certificates
|
|
│ ├── gateway/ # Network gateway certificates
|
|
│ └── ilo/ # iLO interface certificates
|
|
│
|
|
├── scripts/ # Certificate management tools
|
|
│ ├── cert-manager.py # Main interactive tool
|
|
│ ├── sign-cert.sh # Sign certificates with UCS CA
|
|
│ ├── generate-csr*.sh # CSR generation scripts
|
|
│ ├── deploy-*.sh # Automated deployment scripts
|
|
│ ├── install-ca-cert.sh # CA certificate installation
|
|
│ └── detect-system.sh # System type detection
|
|
│
|
|
└── docs/ # Documentation
|
|
├── README.md # Main documentation
|
|
├── EXAMPLES.md # Usage examples
|
|
├── DNS_INTEGRATION.md # DNS automation feature
|
|
└── STRUCTURE.md # This file
|
|
```
|
|
|
|
## 🎯 Usage
|
|
|
|
All scripts should be run from the workspace root or scripts directory:
|
|
|
|
```bash
|
|
# Run interactive certificate manager
|
|
./scripts/cert-manager.py
|
|
|
|
# Sign a certificate
|
|
./scripts/sign-cert.sh certs/fritzbox/fritzbox.csr fritzbox 3650
|
|
|
|
# Deploy to Proxmox
|
|
./scripts/deploy-proxmox.sh certs/proxmox/srv-wmw-host01
|
|
```
|
|
|
|
## 📝 Certificate Files
|
|
|
|
Each certificate directory (e.g., `certs/fritzbox/`) typically contains:
|
|
- `*.key` - Private key
|
|
- `*.csr` - Certificate signing request
|
|
- `*.pem` - Signed certificate
|
|
- `*-cert.pem` - Certificate only
|
|
- `*-fullchain.pem` - Certificate + CA chain
|