@extends('layouts.app') @section('content')
| Name | Subject | Issuer | Valid To | Status | Thumbprint | Actions |
|---|---|---|---|---|---|---|
| {{ $cert->name }} @if($cert->is_default) Default @endif | {{ $cert->subject ?? '—' }} | {{ $cert->issuer ?? '—' }} | @if($cert->valid_to) {{ \Carbon\Carbon::parse($cert->valid_to)->format('M d, Y') }} @if(\Carbon\Carbon::parse($cert->valid_to)->isPast()) (Expired) @elseif(\Carbon\Carbon::parse($cert->valid_to)->diffInDays(now()) < 30) ({{ \Carbon\Carbon::parse($cert->valid_to)->diffInDays(now()) }} days) @endif @else — @endif | @if($cert->status === 'active') Active @elseif($cert->status === 'expiring_soon') Expiring Soon @elseif($cert->status === 'expired') Expired @else {{ $cert->status }} @endif | {{ substr($cert->thumbprint ?? '', 0, 16) }}... | @if(!$cert->is_default) @endif |
| No certificates uploaded. Upload one above. | ||||||