{% extends "ecp_auth/base.html" %} {% load static %} {% block title %}ECP Login{% endblock %} {% block header_title %}Sign In{% endblock %} {% block header_subtitle %}Authenticate with your digital certificate{% endblock %} {% block content %} {% if step == "upload" %}
{% csrf_token %}
{{ form.pkcs12_file }} {% if form.pkcs12_file.errors %}
{{ form.pkcs12_file.errors.0 }}
{% endif %}

Upload your PKCS#12 certificate file

{{ form.pkcs12_password }} {% if form.pkcs12_password.errors %}
{{ form.pkcs12_password.errors.0 }}
{% endif %}

Leave blank if no password is set

{% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% elif step == "challenge" %}

Certificate Details

Common Name: {{ cert_cn }}

Organization: {{ cert_org }}

Verifying digital signature...

{% csrf_token %}
{% endif %} {% endblock %} {% block footer %} {% endblock %} {% block extra_scripts %} {% endblock %}