> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/cyber-best-practices/nl/verhard-je-omgeving/implement-certificates/deploying-user-certificates-within-the-active-directory.md).

# Gebruikerscertificaten uitrollen binnen Active Directory

### Installeren van de AD Certificate Services-rol

Installeer de **"Active Directory Certificate Services"** rol op een van uw servers. Het is belangrijk op te merken dat een server waarop deze rol wordt gehost als zeer gevoelig moet worden beschouwd en een beveiligings- en bewakingsniveau moet hebben dat vergelijkbaar is met dat van een domeincontroller.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/qugRPa7K0YEkWqPSdMzp/image%20png%20Jan%2010%202024%2003%2028%2042%201006%20PM.png)

Volg de configuratie-instructies van de certificeringsautoriteit volgens de behoeften van uw bedrijf.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/378GSV23yl6peZTkv2uc/image%20png%20Jan%2010%202024%2004%2037%2048%207929%20PM.png)

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/0PrOPZxlIJw676epeILt/image%20png%20Jan%2010%202024%2004%2046%2026%202764%20PM.png)

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/vloZgKuMlmhgy4MHiKYH/image%20png%20Jan%2010%202024%2004%2046%2049%200181%20PM.png)

### Een nieuw certificaatsjabloon maken

Open Certificate Manager (certsrv) en de **"Certificaatsjablonen"** map.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/H1IvnPiFHw6YAj801Ke7/image%20png%20Jan%2010%202024%2004%2051%2010%204591%20PM.png)

Klik met de rechtermuisknop op de **"Certificaatsjablonen"** map en selecteer **"Beheren"**&#x65;n klik vervolgens met de rechtermuisknop op **"Gebruiker"** en selecteer ten slotte **"Sjabloon dupliceren"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/rXeyXiHwF8tEHTIMpxRR/image%20png%20Jan%2010%202024%2004%2056%2035%202648%20PM.png)

Hernoem het zojuist gemaakte sjabloon naar **"Gebruiker v2"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/VSrA4IkPCBQs1LwRzIrl/image%20png%20Jan%2010%202024%2005%2034%2018%200209%20PM.png)

In het **"Beveiliging"** tabblad, schakel de machtigingen in **"Lezen"**, **"Aanmelden"**&#x65;n **"Automatisch aanmelden"** voor domeingebruikers.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/d2JwdODiJipR6VUFiplx/image%20png%20Jan%2010%202024%2006%2008%2050%209697%20PM.png)

Indien nodig kan het toepassingsbeleid van dit nieuwe sjabloon worden gewijzigd. In de meeste gevallen worden deze certificaten gebruikt voor gebruikersverificatie, dus controleer of het toepassingsbeleid het volgende bevat **"Clientverificatie"**. U kunt desgewenst andere toepassingsbeleidsregels verwijderen.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/JZ8qV1aj4Q9JtaNEaOb3/image%20png%20Jan%2010%202024%2005%2041%2039%203930%20PM.png)

In het **"Aanvraagverwerking"** tabblad, vink de optie uit **"Toestaan dat de privésleutel wordt geëxporteerd"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/bhLfSwVApNX0emjX8vJF/image%20png%20Jan%2010%202024%2005%2058%2030%209538%20PM.png)

Bevestig de creatie van dit nieuwe sjabloon.

Keer terug naar het venster Certificeringsautoriteit (certsrv), klik met de rechtermuisknop op **"Certificaatsjablonen"**&#x65;n selecteer vervolgens **"Nieuw"**&#x65;n ten slotte **"Certificaatsjabloon om uit te geven"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/btW57T0aphuCW6dNAxhr/image%20png%20Jan%2010%202024%2006%2001%2059%203046%20PM.png)

Selecteer het zojuist gemaakte sjabloon en klik op **OK**.

Het nieuwe sjabloon zou nu in het huidige venster moeten verschijnen.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/WidJFnhD7m8Yy2tMef2C/image%20png%20Jan%2010%202024%2006%2003%2017%201802%20PM.png)

### Automatische aanmelding inschakelen voor domeingebruikers

Meld u aan op een domeincontroller en open de **Groepsbeleidsbeheer** tool. Vouw het domein uit waarvoor u automatische aanmelding wilt inschakelen en open vervolgens de **"Groepsbeleidsobjecten"** map. Klik met de rechtermuisknop op **"Standaarddomeinbeleid"** en klik op **"Bewerken"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/PVbYuIrIwQ6PPn1sRaGY/image%20png%20Jan%2010%202024%2005%2048%2026%202963%20PM.png)

Ga naar:\
\&#xNAN;**"Gebruikersconfiguratie" → "Beleid" → "Windows-instellingen" → "Beveiligingsinstellingen" → "Beleid voor openbare sleutels"**&#x65;n klik vervolgens op **"Client van certificaatservices – Automatische aanmelding"**.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/kkMzbf9NvqMML0nf1FOi/image%20png%20Jan%2010%202024%2005%2051%2016%205055%20PM.png)

Selecteer **"Ingeschakeld"** voor de **"Configuratiemodel"** optie en vink de eerste twee vakjes aan:

* **"Verlopen certificaten vernieuwen \[...]"**
* **"Certificaten bijwerken \[...]"**

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/3W3biJJJLTIBEJA5Cv9v/image%20png%20Jan%2010%202024%2005%2053%2018%208052%20PM.png)

Klik vervolgens op **OK**.

Klik gewoon op **OK** opnieuw en sluit de GPO.

Typ vanuit een sessie van een domeingebruiker **"gpupdate /force"** en wacht tot de GPO is toegepast. Er zou dan een certificaat in uw certificaatarchief moeten verschijnen. Zo niet, gebruik dan het commando **"gpresult /r"** om te controleren of de GPO correct is toegepast.

In de onderstaande afbeelding is het certificaat van de gebruiker **"Administrator"** zichtbaar.

![](https://content.gitbook.com/content/jlP9dfgnu6hj9gyZJG1g/blobs/zm1azmq7AcEafrCKUfyo/image%20png%20Apr%2015%202024%2004%2034%2036%208776%20PM.png)


---

# 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.stoik.io/cyber-best-practices/nl/verhard-je-omgeving/implement-certificates/deploying-user-certificates-within-the-active-directory.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.
