@extends('layouts.librenmsv1') @section('title', __('SSL Certificate') . ' – ' . $certificate->host) @section('content')
@if (session('success'))
{{ session('success') }}
@endif
@if ($certificate->issuer_organization) @endif @if ($certificate->issuer_country) @endif @if ($certificate->serial_number) @endif @if ($certificate->serial_number_hex) @endif @if ($certificate->signature_algorithm) @endif @if ($certificate->certificate_version) @endif @if ($certificate->key_usage) @endif @if ($certificate->extended_key_usage) @endif @if ($certificate->basic_constraints) @endif @if ($certificate->subject_key_identifier) @endif @if ($certificate->authority_key_identifier) @endif @if ($certificate->days_until_expiry !== null) @endif @if ($certificate->subject_alternative_names && count($certificate->subject_alternative_names) > 0) @endif
{{ __('Host') }} {{ $certificate->host }}
{{ __('Port') }} {{ $certificate->port }}
{{ __('Subject') }} {{ $certificate->subject ?? __('N/A') }}
{{ __('Issuer') }} {{ $certificate->issuer ?? __('N/A') }}
{{ __('Issuer Organization') }} {{ $certificate->issuer_organization }}
{{ __('Issuer Country') }} {{ $certificate->issuer_country }}
{{ __('Serial Number') }} {{ $certificate->serial_number }}
{{ __('Serial Number (Hex)') }} {{ $certificate->serial_number_hex }}
{{ __('Self Signed') }} {{ $certificate->self_signed ? __('Yes') : __('No') }}
{{ __('Signature Algorithm') }} {{ $certificate->signature_algorithm }}
{{ __('Certificate Version') }} X.509 v{{ $certificate->certificate_version }}
{{ __('Key Usage') }} {{ $certificate->key_usage }}
{{ __('Extended Key Usage') }} {{ $certificate->extended_key_usage }}
{{ __('Basic Constraints') }} {{ $certificate->basic_constraints }}
{{ __('Subject Key Identifier') }} {{ $certificate->subject_key_identifier }}
{{ __('Authority Key Identifier') }} {{ $certificate->authority_key_identifier }}
{{ __('Valid From') }} {{ $certificate->valid_from ? $certificate->valid_from->format('Y-m-d H:i:s') : __('N/A') }}
{{ __('Valid Until') }} {{ $certificate->valid_to ? $certificate->valid_to->format('Y-m-d H:i:s') : __('N/A') }}
{{ __('Days Until Expiry') }} @if ($certificate->days_until_expiry <= $options['days_until_expiry_danger']) {{ $certificate->days_until_expiry }} {{ __('days') }} @elseif ($certificate->days_until_expiry <= $options['days_until_expiry_warning']) {{ $certificate->days_until_expiry }} {{ __('days') }} @else {{ $certificate->days_until_expiry }} {{ __('days') }} @endif
{{ __('Last Checked') }} {{ $certificate->last_checked_at ? $certificate->last_checked_at->format('Y-m-d H:i:s') : __('N/A') }}
{{ __('Fingerprint') }} {{ $certificate->fingerprint ?? __('N/A') }}
{{ __('Device') }} @if ($certificate->device) {{ $certificate->device->hostname }} @else {{ __('N/A') }} @endif
{{ __('Status') }} @if ($certificate->disabled) {{ __('Paused') }} @elseif ($certificate->isExpired()) {{ __('Expired') }} @elseif ($certificate->expiresWithinDays($options['days_until_expiry_warning'])) {{ __('Expires soon') }} @else {{ __('Valid') }} @endif
{{ __('Subject Alternative Names') }} {{ implode(', ', $certificate->subject_alternative_names) }}
@can('update', $certificate) @if ($certificate->disabled)
@csrf @method('PUT')
@else
@csrf @method('PUT')
@endif @endcan @can('delete', $certificate)
@csrf @method('DELETE')
@endcan {{ __('Back to list') }}
@endsection