{% extends "logs/layout.html" %} {% block title %} {%- if ui_tls_failed %} {{ _("Invalid TLS Certificate")}} {%- else %} {{- _("Examine TLS certificates") }} {%- endif %} {% endblock %} {% block content %}
{::}
{{ _("The identity of the remote server ({H}) could not be verified.").format(H=host)}}
{% for grp in r[2].fingerprint %} {{ grp }} {% if not (loop.index % 4) %}{% endif %} {% endfor %}
{{_("SHA-256 Fingerprint")}}
{{ _("If the certificate cannot be verified, then there is no guarantee you are communicating with the right server.") }} {{ _("Your account details or e-mail may be at risk if you proceed.") }}
{{ _("Some servers deliberately use certificates that cannot be verified; in such cases adding a security exception should be safe.") }} {{ _("Ask your e-mail server administrator to be sure.") }}
{{_("The information below could not be validated. It may be incorrect or forged.")}}
{%- if r[2].subject.organizationalUnitName %}{{ r[2].subject.organizationalUnitName }}{% endif %} {%- if r[2].subject.organizationName %}{{ r[2].subject.organizationName }}{% endif %} {%- if r[2].subject.localityName %}{{ r[2].subject.localityName }}{% endif %} {%- if r[2].subject.stateOrProvinceName %}{{ r[2].subject.stateOrProvinceName }}{% endif %} {%- if r[2].subject.countryName %}{{ r[2].subject.countryName }}{% endif %}
{%- if r[2].issuer.organizationalUnitName %}{{ r[2].issuer.organizationalUnitName }}{% endif %} {%- if r[2].issuer.organizationName %}{{ r[2].issuer.organizationName }}{% endif %} {%- if r[2].issuer.countryName %}{{ r[2].issuer.countryName }}{% endif %}
{{ r[2].pem }}
{{_("Current date appears to be {D}. Is the system clock correct?") .format(D=r[2].current_time|friendly_datetime) }}
{{_("If this certificate error is unsual, then adding a security exception is not recommended.")}}
{%- if ui_tls_failed %} {%- if not valid %} {{_("Try Again Later")}} {%- else %} {{_("OK")}} {%- endif %} {%- else %} {%- endif %} {%- if not ui_tls_failed %} {{_("Show PEM")}} {%- endif %} {%- if r[2].using_tofu %} {%- else %} {%- endif %}
{{ r[2] }}
{{_("Server")}}:
{{_("You can use this tool to examine the TLS certificates of remote servers.")}}
{{_("TLS certificates are a form of digital identification, used to ensure you are communicating with the intended server and not an imposter.")}}
{{_("If necessary, you can add security exceptions (TOFU: Trust on First Use) which will allow you to connect to a server even if it does not present a valid certificate.")}} {{_("When TOFU is in use, if the remote certificate ever changes the new one will be rejected until you add another exception.")}}
"result": {{ result|json }}, "state": {{ state|json }}