> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-publisher/manage/wsus-updates-tab/wsus-options/certificate-management/manage-certificates/create-self-signed.md).

# Create a Self-Signed Certificate in Patch My PC Publisher

*Applies to: Patch My PC Publisher V3.x*

The **Create Self-Signed** certificate option allows Patch My PC (PMPC) Publisher to create a code-signing certificate.

This option is commonly used when you do not want Microsoft ConfigMgr to manage the certificate, or in standalone WSUS environments where self-signed certificates are permitted and a Certificate Authority is not available.

To create a self-signed code-signing certificate:

1. Open Publisher.
2. On the **General** tab, under the **Certificate Management** section, click the **Create Self-Signed** button.
3. On the **WSUS Code Signing Certificate** screen, review and adjust as required the certificate options:
   1. **Subject** (Default: **PatchMyPC Service**)
   2. **Valid for** (Default: **5 years**)
   3. **Key length** (Default: 2048 **bits**)

<figure><img src="/files/isGg60dmBBuwyocbJ5Lp" alt="&#x27;WSUS Code Signing Certificate&#x27; screen" width="300"><figcaption></figcaption></figure>

4. Optionally, leave the **Disable Private Key Export** checkbox unchecked if you may need to move Publisher to another top-level Software Update Point (SUP) in the future and want to take the same code-signing certificate to the new server.
5. Click the **Generate** button.
6. If a code-signing certificate is already configured, Publisher prompts you to confirm before overwriting it, even if the existing certificate is still valid. This helps prevent accidental replacement of an active signing certificate.\
   \
   The **Certificate Management** section updates to show the certificate is valid and it's expiry date.<br>

   <figure><img src="/files/w7Ft5JoS5u3iQAmHd5fw" alt="Valid certificate" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**Note**

By default, the generated certificate’s **private key is marked as exportable**. This is intentional and recommended, as it allows the certificate (including the private key) to be exported and reused if the Publisher is later moved to a new top-level Software Update Point (SUP). Without an exportable private key, the same signing certificate could not be transferred to another server.
{% endhint %}

After generation, the self-signed certificate is automatically placed in the following **Local Machine** certificate stores on the server:

* **WSUS**\
  Used by Publisher, through the WSUS API, to sign third-party updates.
* **Trusted Publishers**\
  Allows the operating system to trust updates signed with this certificate.
* **Trusted Root Certification Authorities**\
  Required because the certificate is **self-signed** and does not chain back to a trusted Certificate Authority.

{% hint style="danger" %}
**Important**

As self-signed certificates do not have a parent Certificate Authority, they must be explicitly trusted to establish a valid trust chain. For environments using ConfigMgr or WSUS, this means the certificate must be trusted not only on the WSUS server, but also on **all devices that will install updates signed with the certificate**.

As a result, the self-signed certificate must be placed in the **Trusted Publishers** store (to allow installation of signed updates) and the **Trusted Root Certification Authorities** store (to establish trust for the signing certificate) on those devices.

When third-party updates are enabled for the SUP and in Client Settings, ConfigMgr can automatically distribute the signing certificate to managed devices, place it into the required certificate stores, and configure the necessary local Windows Update policies so the Windows Update Agent trusts that signing certificate.

This ensures client devices trust updates signed by a third-party code-signing certificate, rather than only updates signed by Microsoft, without requiring manual certificate deployment. See [Client Settings](/patch-my-pc-publisherv2/publisher-requirements/configmgr-requirements/client-settings.md) for more information.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-publisher/manage/wsus-updates-tab/wsus-options/certificate-management/manage-certificates/create-self-signed.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
