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

+33
View File
@@ -0,0 +1,33 @@
@echo off
REM Install Dune Dashboard CA certificate into Windows Trusted Root CA store
REM Must be run as Administrator
setlocal
set CERT_PATH=%~dp0ssl\ca.pem
if not exist "%CERT_PATH%" (
echo ERROR: CA certificate not found at %CERT_PATH%
echo Run setup.bat first to generate the CA certificate.
pause
exit /b 1
)
echo Installing Dune Dashboard CA certificate...
echo.
certutil -addstore -f "Root" "%CERT_PATH%"
if %errorlevel% equ 0 (
echo.
echo SUCCESS: CA certificate installed to Trusted Root Certification Authorities.
echo Browser warnings for https://localhost:5050 should now be gone.
echo.
echo Restart your browser for the change to take effect.
) else (
echo.
echo FAILED: Could not install certificate.
echo Make sure you are running this script as Administrator.
)
echo.
pause