FireLens Admin

SSL Status {{ 'Enabled' if ssl_enabled else 'Disabled' }}
HTTPS Port {{ https_port }}
HTTP Port {{ http_port }}
{% if cert_info %}
Certificate Status {{ 'Expired' if cert_info.expired else 'Expiring Soon' if cert_info.expiring_soon else 'Valid' }}
Days Until Expiry {{ cert_info.days_until_expiry }}
{% endif %}
{% if cert_info and cert_info.expired %}

Certificate Expired

The SSL certificate has expired. Browsers will show security warnings. Please upload a new certificate or generate a new self-signed certificate.

{% elif cert_info and cert_info.expiring_soon %}

Certificate Expiring Soon

The SSL certificate will expire in {{ cert_info.days_until_expiry }} days. Consider renewing it before it expires.

{% endif %} {% if cert_info and cert_info.is_self_signed %}
🔒

Self-Signed Certificate

The current certificate is self-signed. Browsers will show a security warning. For production use, upload a certificate from a trusted Certificate Authority.

{% endif %} {% if cert_info %}

🔒 Current Certificate

Common Name (CN) {{ cert_info.common_name }}
Organization {{ cert_info.organization or 'N/A' }}
Valid From {{ cert_info.not_before }}
Valid Until {{ cert_info.not_after }}
Type {{ 'Self-Signed' if cert_info.is_self_signed else 'CA-Signed' }}
{% if cert_info.san %}
Subject Alt Names {{ cert_info.san | join(', ') }}
{% endif %}
SHA-256 Fingerprint {{ cert_info.fingerprint_sha256 }}
{% else %}

🔒 No Certificate Found

No SSL certificate is currently installed. A self-signed certificate will be generated automatically when the service starts, or you can generate one now.

{% endif %}

Upload Custom Certificate

Upload a certificate from a trusted Certificate Authority for production use.

Paste the certificate in PEM format, including the BEGIN and END markers.
Paste the private key in PEM format. The key must not be password-protected.

🔄 Important Note

After uploading or generating a new certificate, you must restart the FireLens service for the changes to take effect:

sudo systemctl restart FireLens