# Requesting a web server certificate

The process for requesting a new certificate depends on your company policies. This document describes how to request a new web certificate if using an Active Directory Enrollment Policy.

To request a web server certificate:

1. Open the local machine certificate snap-in by entering the command: **certlm.msc**.
2. Expand the Personal folder and right-click the Certificates folder. In the context menu, select **All Tasks** - **Request New Certificate...**\
   ![](/files/26j0utQmM1wVY9Do04xf)
3. In the "Certificate Enrollment" wizard, at the "Before You Begin" screen, click **Next**.
4. At the "Select Certificate Enrollment Policy" screen, select **Active Directory Enrollment Policy** and then click **Next**.&#x20;
5. At the "Request Certificates" screen, select the web server certificate template, and click: **More information is required to enroll for this certificate. Click here to configure settings.**&#x20;
6. At the "Certificates Properties" screen, in the "Alternative name" section, use the Type drop-down and select **DNS**. In the Value field, enter the FQDN of the StifleR server on which the certificate will be installed. You can also add additional values for DNS (CNAME) Aliases. Click **OK** to save the settings.\
   ![](/files/h8xBqrk7FFzDoq6hS0TM)
7. Once complete, click **Enroll** and then click **Finish** to close the wizard.&#x20;
8. You should see the certificate in the certificates store. **Double-click** the certificate and click the **Details** tab.&#x20;
9. Scroll down and select the **Subject Alternative Name** field. In the value box, you should see the DNS Name you entered earlier.&#x20;
10. Select the **Thumbprint** field. In the value box, you should see the certificate thumbprint. This can be copied by using the hotkeys **CTRL-C**. It is important to capture this value to add to the StifleR Config file when implementing HTTPS in StifleR. \
    ![](/files/UrPxUUn4WUEYL19ApWmP)


---

# 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://documentation.2pintsoftware.com/stifler/configuration/securing-stifler-operations-with-ssl/using-a-full-iis-certificate/requesting-a-web-server-certificate.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.
