{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block content_title %}

{{ title }}

{% endblock %} {% block content %}
{% trans "Import certificate" %}
{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{{ form.domain }}{{ form.domain.errors }} {% trans "The certificate must contain this domain in SAN or CN." %}
{{ form.certificate }}{{ form.certificate.errors }} {% trans "Paste the full chain PEM, including the leaf certificate." %}
{{ form.private_key }}{{ form.private_key.errors }} {% trans "Unencrypted PKCS#8 or PKCS#1 PEM. Must match the certificate." %}
{% trans "Cancel" %}
{% endblock %}