# API-Registrierung

{% hint style="info" %}
Diese Funktion erfordert Version **2.3.689** oder höher.
{% endhint %}

{% hint style="warning" %}
nur SCEPman Enterprise Edition
{% endhint %}

SCEPman verfügt über eine REST-API zur Registrierung von Zertifikaten. Dies ist eine Alternative zu den SCEP-Endpunkten, die eine SCEP-Authentifizierung erfordern, während die REST-API für die Authentifizierung Microsoft-Identitäten verwendet. Das Protokoll ist außerdem deutlich einfacher als SCEP.

## Voraussetzungen

### 1. Service Principal

### 2. App Service-Einstellungen

## Registrierung von Zertifikaten

Nachdem Sie die Voraussetzungen vorbereitet haben, können Sie ein PKCS#10/CMS per HTTP-Pfad an Ihr SCEPman senden *api/csr*. Die HTTP-Antwort ist das frisch ausgestellte Zertifikat in DER-Kodierung.

SCEPman speichert alle ausgestellten Zertifikate automatisch in seinem Storage Account, sodass Sie sie bequem über die Certificate Master-Komponente auflisten und widerrufen können.

Eine bequeme Methode, diese Anfragen zu senden, ist unser SCEPmanClient PowerShell-Modul:

{% content-ref url="/pages/dbb1c25b5c5378e0bfea99026d67efd5eddf2f37" %}
[SCEPmanClient](/de/zertifikatsverwaltung/api-certificates/scepmanclient.md)
{% endcontent-ref %}

## Weitere Beispiele

Siehe unser [Open Source Sample Library auf GitHub](https://github.com/scepman/csr-request) um herauszufinden, wie Sie die REST-API von SCEPman verwenden.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scepman.com/de/zertifikatsverwaltung/api-certificates/api-enrollment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
