> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/es/administracion-de-certificados/api-certificates/api-enrollment.md).

# Inscripción mediante API

{% hint style="info" %}
Esta función requiere la versión **2.3.689** o superior.
{% endhint %}

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

SCEPman cuenta con una API REST para inscribir certificados. Esta es una alternativa a los endpoints SCEP que requieren la autenticación estilo SCEP, mientras que la API REST utiliza Microsoft Identities para la autenticación. El protocolo también es mucho más simple que SCEP.

## Requisitos previos

### 1. Service Principal

### 2. Configuración de App Service

## Inscripción de certificados

Después de haber preparado los requisitos previos, puede enviar un PKCS#10/CMS a su SCEPman con la ruta HTTP *api/csr*. La respuesta HTTP será el certificado recién emitido en codificación DER.

SCEPman almacenará automáticamente todos los certificados emitidos en su Storage Account, para que pueda listarlos y revocarlos cómodamente a través del componente Certificate Master.

Un método cómodo para enviar esas solicitudes es nuestro módulo de PowerShell SCEPmanClient:

{% content-ref url="/pages/53a88a3274a2c93bbc35ad73bc9abe307ee6d80f" %}
[SCEPmanClient](/es/administracion-de-certificados/api-certificates/scepmanclient.md)
{% endcontent-ref %}

## Otros ejemplos

Consulte nuestra [Biblioteca de ejemplos de código abierto en GitHub](https://github.com/scepman/csr-request) para descubrir cómo usar la API REST de SCEPman.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.scepman.com/es/administracion-de-certificados/api-certificates/api-enrollment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
