> 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/pt/configuracao-do-scepman/application-settings/dbcsr-validation.md).

# API REST de registo

{% hint style="warning" %}
Apenas na edição Enterprise do SCEPman

Aplicável à versão 2.3.689 e superior
{% endhint %}

{% hint style="info" %}
Estas definições devem ser aplicadas apenas ao SCEPman App Service, e não ao Certificate Master. Consulte [Definições do SCEPman](/pt/configuracao-do-scepman/application-settings.md).
{% endhint %}

## AppConfig:DbCSRValidation:Enabled

*Linux: AppConfig\_\_DbCSRValidation\_\_Enabled*

**Valor:** *true* ou *false* (predefinição)

**Descrição:** Este é um ponto de extremidade da REST API que scripts e processos personalizados podem usar. Veja [o nosso artigo sobre como usar a REST API](/pt/gestao-de-certificados/api-certificates.md) para mais detalhes.

## AppConfig:DbCSRValidation:ValidityPeriodDays

*Linux: AppConfig\_\_DbCSRValidation\_\_ValidityPeriodDays*

**Valor:** Inteiro positivo

**Descrição:** Esta definição reduz ainda mais o ValidityPeriodDays global para o ponto de extremidade da REST API. Por exemplo, pode definir aqui um valor como 365 dias e definir o global [AppConfig:ValidityPeriodDays](#appconfig-dbcsrvalidation-validityperioddays) para 730. Assim, os certificados emitidos através da API terão validade de um ano, enquanto os certificados emitidos através de outros endpoints poderão ser válidos por até dois anos.

Além disso, pode incluir uma extensão nos seus pedidos PKCS#10 para inscrever certificados com uma validade individual específica inferior à configurada aqui.

## AppConfig:DbCSRValidation:AllowRenewals

*Linux: AppConfig\_\_DbCSRValidation\_\_AllowRenewals*

**Valor:** *true* ou *false* (predefinição)

**Descrição:** Isto permite utilizar o endpoint EST "simplereenroll", permitindo [a renovação de certificados através de mTLS](https://docs.scepman.com/pt/configuracao-do-scepman/application-settings/pages/d93fe80282e16b063db56892eb639ba9ec09c676#id-2.-app-service-settings). Funciona apenas para tipos de certificado adicionados a [AppConfig:DbCSRValidation:ReenrollmentAllowedCertificateTypes.](#appconfig-dbcsrvalidation-reenrollmentallowedcertificatetypes)

## AppConfig:DbCSRValidation:ReenrollmentAllowedCertificateTypes

*Linux: AppConfig\_\_DbCSRValidation\_\_ReenrollmentAllowedCertificateTypes*

**Valor:** Lista separada por vírgulas de tipos de certificado desta lista:

* DomainController
* Static
* IntuneUser
* IntuneDevice
* JamfUser
* JamfUserWithDevice
* JamfUserWithComputer
* JamfDevice
* JamfComputer

**Descrição:** Pode utilizar o endpoint simplereenroll para certificados dos tipos especificados nesta definição. Se não especificar qualquer valor, por predefinição não haverá tipos, ou seja, não pode utilizar o endpoint simplereenroll.

Por exemplo, se quisesse renovar certificados emitidos manualmente através do Certificate Master, especificaria `Static`. Se também quiser renovar certificados Domain Controller, especificaria `DomainController,Static`.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scepman.com/pt/configuracao-do-scepman/application-settings/dbcsr-validation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
