{% extends 'base/layout.html' %} {% block title %}Import HTTPS Certificate — {{ object.name }}{% endblock %} {% block content %}
Import HTTPS Certificate — {{ object.name }}
Verify the fingerprint below against the certificate on your server before clicking Trust and Save. Trusting an unverified certificate allows a man-in-the-middle attacker to intercept your DHCP API traffic.
{% if cert_info.sans %} {% endif %}
Server {{ object.hostname }}:{{ object.port }}
Subject CN {{ cert_info.subject_cn }}
SANs {% for san in cert_info.sans %}{{ san }}{% if not forloop.last %}, {% endif %}{% endfor %}
Issuer CN {{ cert_info.issuer_cn }}
Expires {{ cert_info.not_after|date:"N j, Y" }}
SHA-256 Fingerprint {{ cert_info.fingerprint }}
{% if object.ca_cert %}
This will replace the certificate currently stored for {{ object.name }} {% if object.ca_cert_expiry %}(expires {{ object.ca_cert_expiry|date:"N j, Y" }}){% endif %}.
{% endif %}
{% csrf_token %} Cancel
{% endblock %}