# Check existence of MoovIT authority certificate on windows client

This entry is about to check if the MoovIT certificate exists on the local windows client. Due to the fact that local group policy actions or windows updates may wipe the certificate, it is needed that sometimes the existence of the certificate should be checked.

The easiest way to check the certificate is by opening the certificate manager via Run -> certmgr.msc

```batch
::: Open certificate manager / store

certmgr.msc
```

<figure><img src="/files/DnskJWejYqhjsa5bX19g" alt=""><figcaption><p>Certificate store showing moovit certificate</p></figcaption></figure>

To list the MoovIT authority certificate via script, this task can be executed via powershell (**admin prompt**):

```powershell
#List any certificate with "moovit" in its name

Get-ChildItem Cert:\LocalMachine\Root\ | where{$_.Subject -like "*moovit*"}
```

<figure><img src="/files/7O0oHysfW1bQ3Uoqh9SG" alt=""><figcaption><p>List moovit certificate via powershell</p></figcaption></figure>

If the moovit certificate doesn’t exist, the certificate can be installed by using this powershell command – a GPO task or any other logon action should be considered to be used for this task.<br>

```powershell
#Add moovit certificate to certificate store

Import-Certificate -FilePath "C:\Program Files\MoovIT GmbH\Helmut4\resources\moovit_ca.crt" -CertStoreLocation Cert:\LocalMachine\Root
```

<figure><img src="/files/rZtlwmRYwwcRCLGMlzpH" alt=""><figcaption><p>Add moovit certificate to certificate store via powershell</p></figcaption></figure>


---

# 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.helmut.de/helmut4-releases/support/debug-or-log-collection/helmut4-client/check-existence-of-moovit-authority-certificate-on-windows-client.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.
