feat: Let's Encrypt integration, dual IP prompts, firewall checks, and CA utilities

- Add Let's Encrypt support in setup scripts with certbot auto-install (winget/pip/python -m fallbacks)
- Separate VM External IP and Host External IP prompts during setup
- Firewall rule creation only prompts when DuneDashboard rule doesn't exist
- HTTP redirect server tries 0.0.0.0:80 first, falls back to 127.0.0.1:80
- Cert monitor detects LE certs and runs certbot renew instead of local CA regeneration
- Add ssl_domain and ssl_email settings
- Add install-ca-cert.bat and clean-ca-certs.bat utilities for Windows CA management
- Update README with setup flow details, LE docs, and firewall notes
This commit is contained in:
Reditus committed 2026-05-12 09:07:51 +01:00
1 parent f22f3bdf8d
commit 846b27e834
12 files changed
+987 -79

No files matched your search

+10
View File
@@ -19,6 +19,11 @@ dashboard:
secret_key: "change-me-to-random-string" # For session security
ssl_cert: null # Path to SSL cert (null = HTTP only)
ssl_key: null # Path to SSL key (null = HTTP only)
ssl_domain: null # Domain for Let's Encrypt (e.g. dashboard.example.com)
ssl_email: null # Email for Let's Encrypt notifications
# For Let's Encrypt or custom CA:
# ssl_cert: /etc/letsencrypt/live/yourdomain/fullchain.pem
# ssl_key: /etc/letsencrypt/live/yourdomain/privkey.pem
# Database (accessed via SSH tunnel)
database:
@@ -54,3 +59,8 @@ logging:
file: "logs/dashboard.log"
max_bytes: 10485760 # 10MB
backup_count: 5
# SSL certificate auto-renewal
ssl:
check_interval_hours: 24 # How often to check cert expiry
renewal_days_before_expiry: 30 # Regenerate if expiring within this many days