-
- Let's Encrypt einrichten
-
-
-
- {{-- Domain-Status --}}
- @php
- $domainMap = [
- 'ui' => ['label' => 'UI', 'domain' => $uiDomain],
- 'webmail' => ['label' => 'Webmail', 'domain' => $webmailDomain],
- 'mail' => ['label' => 'Mailserver', 'domain' => $mailDomain],
- ];
- @endphp
-
- @foreach($domainMap as $key => $info)
- @php
- $d = $info['domain'];
- $certOk = $d && (file_exists("/etc/letsencrypt/renewal/{$d}.conf") || is_dir("/etc/letsencrypt/live/{$d}"));
- @endphp
-
- @if(!$d)
-
- @elseif($certOk)
-
- @else
-
- @endif
-
- {{ $info['label'] }}
- @if($d)
- {{ $d }}
- @endif
-
-
- {{ !$d ? '—' : ($certOk ? 'Vorhanden' : 'Fehlt') }}
-
-
- @endforeach
-
-
- {{-- Fortschritt --}}
- @if($sslProvisioning || $sslDone)
-
-
- {{ $sslProvisioning ? 'Zertifikate werden eingerichtet…' : 'Einrichtung abgeschlossen' }}
-
- @foreach(['ui' => 'UI', 'webmail' => 'Webmail', 'mail' => 'Mailserver'] as $key => $label)
- @php $st = $sslProgress[$key] ?? 'pending'; @endphp
-
- @if($st === 'done')
-
- @elseif($st === 'error' || $st === 'nodns')
-
- @elseif($st === 'running')
-
- @else
-
- @endif
-
- {{ $label }}
- @if($st === 'nodns') — kein DNS
- @elseif($st === 'error') — fehlgeschlagen
- @elseif($st === 'running') — läuft…
- @endif
-
-
- @endforeach
-
- @endif
-
- {{-- Button --}}
- @if(!$uiDomain || !$webmailDomain || !$mailDomain)
-
- @else
-
- @endif
-
-