{{ _('Plug & Charge – Hubject API') }}

{{ _('Manage base URL, authorization, and timeout for Hubject.') }}

{% if error %} {% endif %} {% if message %} {% endif %}
{{ _('Hubject API settings') }}
{{ _('Leave empty if no additional header is required.') }}
{% if mtls_ready %}
{{ _('mTLS-Pfade gesetzt, Dateien vorhanden.') }}
{% else %}
{{ _('mTLS-Konfiguration unvollständig – Details siehe unten.') }}
{% endif %}
{% if mtls_ready %}
{{ _('mTLS-Zertifikate vollständig und lesbar vorhanden.') }}
{% else %}
{{ _('mTLS-Konfiguration unvollständig:') }} {% set labels = { 'client_cert': _('Client-Zertifikat'), 'client_key': _('Private Key'), 'ca_bundle': _('CA-Bundle'), } %}
    {% for item in mtls_missing %}
  • {{ labels.get(item, item) }} {{ _('fehlt') }}
  • {% endfor %} {% for item in mtls_unreadable %}
  • {{ _('Keine Leserechte für') }} {{ labels.get(item, item) }}
  • {% endfor %}
{% endif %}
{% for key, label in { 'client_cert': _('Client-Zertifikat'), 'client_key': _('Privater Schlüssel'), 'ca_bundle': _('CA-Bundle'), }.items() %} {% set cert = certs.get(key, {}) %} {% endfor %}
{{ _('Typ') }} {{ _('Ablageort') }} {{ _('Letzte Änderung') }} {{ _('Integrität') }}
{{ label }}
{{ cert.filename }}
{{ cert.directory }}
{% if cert.last_modified %} {{ cert.last_modified }} {% else %} – {% endif %} {% if cert.error %} {{ _('Fehlerhafte Datei') }}
{{ cert.error }}
{% elif cert.exists and cert.readable %} {{ _('Lesbar') }} {% elif cert.exists %} {{ _('Nicht lesbar') }} {% else %} {{ _('Fehlt') }} {% endif %}
{{ _('Zertifikate hochladen') }}
{{ _('Wird unter dem aktuell konfigurierten Pfad gespeichert.') }}

{{ _('Max. 2 MB pro Datei. Zertifikate und Schlüssel werden an den Hubject-Konfigurationspfaden abgelegt.') }}