# Azure Stack Certification Authority certificate

Following script connects to [Privileged Endpoint](https://docs.microsoft.com/en-us/azure-stack/operator/azure-stack-privileged-endpoint?view=azs-2002) and generates the required AzureStackCertificationAuthority.cer file.

## HOST VM

On **AzS Development Kits**, sign in to the physical host.&#x20;

On **multi-node integrated systems**, the host must be a system that can access the privileged endpoint.

1. Place the BillingRP.zip file in a temp folder (c:\CloudAssert). Right click -> Properties -> Unblock -> Apply -> OK. If you don't have this installer please [**reach out to our team**](https://www.cloudassert.com/Product/Microsoft-Azure-Stack-Hub/Multi-Stamp-Management-Free-Trial) and we will provide you with latest installer and trial license.&#x20;
2. Extract the contents to the same folder (c:\CloudAssert)
3. Open a new elevated (administrative) PowerShell  console and change to the directory where the files have been extracted (c:\CloudAssert\BillingRP). Use a new window to avoid problems that might arise from incorrect Power Shell modules that are already loaded on the system.
4. Run GetAzureStackCertificationAuthority.ps1 and specify the required parameters

| Parameter Name     | Description                   | Required |
| ------------------ | ----------------------------- | -------- |
| PrivilegedEndpoint | PrivilegedEndpoint IP Address | Required |

```
.\GetAzureStackCertificationAuthority -PrivilegedEndpoint "192.168.200.224"
```

The script will prompt for PEP endpoint cloud admin credentials. Once provided, the script will create the AzureStackCertificationAuthority.cer file inside the **Cert** folder.&#x20;

{% hint style="info" %}
Take a backup of AzureStackCertificationAuthority.cer file and place it inside the Cert folder  incase the resource provider deployment needs to be re-initiated.
{% 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.cloudassert.com/azure-stack-billing/2007-1/installation/prerequisites/azure-stack-certification-authority-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.
