> 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/scep-endpoints/dc-validation.md).

# Validação de DC

{% hint style="warning" %}
apenas na Edição Enterprise do SCEPman
{% endhint %}

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

## AppConfig:DCValidation:Enabled

*Linux: AppConfig\_\_DCValidation\_\_Enabled*

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

**Descrição:** Esta definição ajuda-o a solicitar certificados de servidor Kerberos para os seus Domain Controllers locais. Veja [Certificados de Domain Controller](/pt/gestao-de-certificados/domain-controller-certificates.md) para obter detalhes.

* **Verdadeiro**: SCEPman escuta no endpoint adicional do servidor SCEP com o caminho `/dc`. Use em conjunto com [AppConfig:DCValidation:RequestPassword](#appconfig-dcvalidation-requestpassword).
* **Falso** (predefinição): SCEPman não emite certificados para Domain Controllers.

## AppConfig:DCValidation:RequestPassword

*Linux: AppConfig\_\_DCValidation\_\_RequestPassword*

**Valor:** *Cadeia de caracteres*

**Descrição:** Uma palavra-passe de desafio que os Domain Controllers devem incluir em cada pedido SCEP para obter um certificado. Usada apenas se AppConfig:DCValidation:Enabled estiver definido como *true*.

Recomendamos definir esta configuração como Secret no Azure Key Vault. O Secret deve ter o nome *AppConfig--DCValidation--RequestPassword*.

## AppConfig:DCValidation:ValidityPeriodDays

*Linux: AppConfig\_\_DCValidation\_\_ValidityPeriodDays*

**Valor:** Positivo *Inteiro*

**Descrição:** Esta definição reduz ainda mais o ValidityPeriodDays global para o endpoint Domain Controller. Por exemplo, pode definir aqui um valor baixo como 10 dias e reduzir a validade dos certificados Domain Controller, mantendo ainda uma validade longa para os seus certificados de cliente.

## AppConfig:DCValidation:EnableCertificateStorage

*Linux: AppConfig\_\_DCValidation\_\_EnableCertificateStorage*

{% hint style="info" %}
Aplicável à versão 2.3 e superior
{% endhint %}

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

**Descrição:** Ao solicitar certificados através do endpoint DC, o SCEPman armazena esses certificados solicitados no Storage Account no Azure se isto estiver definido como *true*. Isto fará com que os certificados emitidos apareçam no SCEPman Certificate Master, onde pode vê-los e revogá-los. Se estiver definido como *false*, o SCEPman não armazenará os certificados emitidos e os certificados só serão visíveis nos registos ou se o cliente SCEP os guardar algures. Se isto não estiver definido, o comportamento depende da definição global [AppConfig:EnableCertificateStorage](/pt/configuracao-do-scepman/application-settings/basics.md#appconfig-enablecertificatestorage).


---

# 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/scep-endpoints/dc-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.
