{% extends "simple_service.html" %}
{% comment %}
#
# This file is part of FreedomBox.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see
{% trans "Domain" %} | {% trans "Certificate Status" %} | {% trans "Website Security" %} | {% trans "Actions" %} |
---|---|---|---|
{% if domain == status.current_domain.name %} {{ domain }} {% else %} {{ domain }} {% endif %} | {% if domain_status.certificate_available and domain_status.validity == "valid" %} {% blocktrans trimmed with expiry_date=domain_status.expiry_date %} Valid, expires on {{ expiry_date }} {% endblocktrans %} {% elif domain_status.certificate_available and not domain_status.validity == "valid" %} {% if "revoked" in domain_status.validity %} {% blocktrans trimmed %} Revoked {% endblocktrans %} {% elif "expired" in domain_status.validity %} {% blocktrans trimmed with expiry_date=domain_status.expiry_date %} Expired on {{ expiry_date }} {% endblocktrans %} {% elif "test" in domain_status.validity %} {% blocktrans trimmed %} Invalid test certificate {% endblocktrans %} {% else %} {% blocktrans trimmed with reason=domain_status.validity %} Invalid ({{ reason }}) {% endblocktrans %} {% endif %} {% else %} {% trans "No certificate" %} {% endif %} | {% if domain_status.web_enabled %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | {% if domain_status.certificate_available %} {% if "revoked" not in domain_status.validity %} {% endif %} {% else %} {% endif %} |
{% blocktrans trimmed %} If you have a Let's Encrypt certificate for your current domain, you may let {{ box_name }} manage its renewal process. This also enables other apps to use that certificate, so most users would not prompted with security warnings when using them. {% endblocktrans %}
{% if status.current_domain.name %} {% else %} {% blocktrans trimmed %} No current domain is configured. First configure a domain to enable management of its certificates. {% endblocktrans %} {% endif %} {% else %} {% blocktrans trimmed %} No domains have been configured. Configure domains to be able to obtain certificates for them. {% endblocktrans %} {% endif %} {% endblock %}