# Create an Enrollment Agent template

To create the Enrollment Agent template:

1. From the Certificate Authority server, launch the Certificate Authority management console (MMC) from Administrative Tools.
2. Expand the CA, right -click on the "Certificate Templates" folder and select **Manage**.
3. Right-click the Enrollment Agent template and choose **Duplicate Template**. The new template properties window opens. On the **General** tab, configure the following properties:
   * **Template display name:** PrlsEnrollmentAgent
   * **Template name:** PrlsEnrollmentAgent
   * **Validity period:** 2 years
   * **Renewal period:** 6 weeks
   * **Publish certificate in Active Directory**: ON
   * **Do not automatically re-enroll if a duplicate certificate exists in Active Directory:** OFF

{% hint style="info" %}
**Note:** The display name can be any name you choose, however the template name must match the template name highlighted above.
{% endhint %}

![](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-19-Administrators-Guide/pic-031.png)

4. Select the **Cryptography** tab and set the following values:
   * **Provider category:** Legacy Cryptographic Service Provider (read-only).
   * **Algorithm name:** Determined by CSP
   * **Minimum key size:** The desired minimum key size up to 4096 bits

In the section **Choose which cryptographic providers can be used for requests**, choose **Requests must use one of the following providers**. In the following list of providers, select your desired provider.

![](/files/Qappod3NFxY3OAmN6tPF)

5. Select the **Security** tab and do the following:

* Click **Add**.
* Add the enrollment agent user account.
* Allow (select) the "Read" and "Enroll" permission. Click **Apply** and **OK**.

![](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-19-Administrators-Guide/pic-033.png)

## **Issue the certificate template**

To issue the certificate template that you've created:

1. Run Certificate Authority again and right click on **Certificate Templates,** select new and click on **Certificate Template to Issue**.
2. Select the certificate template you've created in the previous steps (i.e. Prls Enrollment Agent) and click **OK**.
3. The certificate template should appear in the **Certificate Templates** list.

{% hint style="info" %}
**Note:** After creating the Enrollment Agent template and the Smartcard Logon template (described later), you should restart the **Active Directory Certificate Services** service in Windows.
{% endhint %}


---

# 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.parallels.com/landing/ras-admin-guide/v19-en-us/parallels-ras-19-administrators-guide/saml-sso-authentication/saml-configuration/configure-certificate-authority-templates/create-an-enrollment-agent-template.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.
