{% extends "base.html" %} {% block content %}
Certificate operations

Certificate inventory

Manage this server's authority, certificate lifecycle, and trust relationships.

{{ 'MultiCA enabled' if multi_ca_enabled else 'One current CA per server' }}
Local CAs{{ icon('shield') }}{% if multi_ca_enabled %}{{ local_authorities|length }}{% else %}{{ 1 if authority else 0 }} / 1{% endif %}{{ 'Needs attention' if block_reason else ('Default CA selected' if authority else ('Choose a default CA in Settings' if local_authorities else 'Ready to initialize')) }}
Certificates{{ icon('audit') }}{{ counts['total'] }}End-entity certificates issued
Expiring in 30 days{{ icon('lock') }}{{ counts['expiring'] }}{{ 'Plan certificate renewals' if counts['expiring'] else 'No upcoming expirations' }}
Revoked / expired{{ icon('grid') }}{{ counts['revoked'] }} / {{ counts['expired'] }}Certificate lifecycle status
{% include "ca_console.html" %} {% if can_manage('admin', 'operator') and issuing_authorities %}

Issue certificate

{% if multi_ca_enabled %}Choose the Issuing CA for this certificate.{% else %}Signing authority: {{ issuing_authorities[0]['name'] }}.{% endif %}

End-entity issuance
{% if multi_ca_enabled %} {% else %}{% endif %}

Use a CSR to keep the certificate's private key on its destination system. Without a CSR, a software key is generated here. CA private keys can never be downloaded.

{% if not issuance_templates %}

No enabled template permits your role. Ask an administrator to configure certificate templates.

{% endif %}
{% endif %}

Issued certificates

Search issued certificates, download artifacts, and manage revocation.

{{ total }} total
{% if certificates %}
{% for certificate in certificates %}{% endfor %}
Common name / SANsOwner / serviceIssuer / templateStatus / expiresActions
{{ certificate['common_name'] }}
{{ certificate['subject_alt_names'] }}{% if certificate['renewed_from_id'] %}
Renewed from #{{ certificate['renewed_from_id'] }}{% endif %}
{{ certificate['owner'] or 'Unassigned' }}
{{ certificate['service_name'] or certificate['deployment_host'] }}{% if certificate['environment'] %}
{{ certificate['environment'] }}{% endif %}{% if certificate['tags'] %}
{{ certificate['tags']|replace(',', ' ยท ') }}{% endif %}
{{ certificate['authority_name'] }}
{{ certificate['template_name'] or certificate['profile'] }}
{% if certificate['revoked_at'] %}Revoked {% elif certificate['not_after'] <= now %}Expired {% elif certificate['authority_id'] not in active_authority_ids %}Issuer inactive {% else %}Active{% endif %}
{{ certificate['not_after'][:10] }} {% if certificate['tls_enabled'] %}
TLS: {{ certificate['endpoint_status'] or 'Pending check' }}{% endif %}
Certificate Chain {% if key_download_enabled and certificate['private_key_pem'] %}Key{% endif %} {% if can_manage('admin', 'operator') and not certificate['revoked_at'] %} Renew
Revoke

Revocation cannot be undone.

{% endif %}
{% else %}
{{ icon('audit') }}

No matching certificates.

{{ 'Adjust the search or filters to find your certificates.' if query else 'Certificates issued by this server will appear here.' }}

{% endif %}
{% endblock %}