{% extends "base.html" %}
{% block content %}
TLS View the current TLS certificate status and renewal configuration.TLS Certificate
Status: {% if tls.certificate.expired %}expired{% else %}valid{% endif %}
Expires: {{ tls.certificate.not_after|absolute_time }} ({{ tls.certificate.days_left|round|int }} days left)
Issuer: {{ tls.certificate.issuer }}
Renewal: {% if tls.renew_command %}auto ({{ tls.renew_command }}){% else %}manual{% endif %}
{% elif tls.enabled %}{{ tls.error or 'The certificate could not be read.' }}
{% else %}TLS is disabled. Enable it in the configuration.
{% endif %}