> 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/administration/general/certificate-management/import-pfx-certificate.md).

# Import PFX Certificate

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

The **Import PFX Certificate** option allows you to import a code signing certificate using a PFX file that includes the certificate private key. This certificate is used to sign content published by the Publisher.

When importing a new certificate, the Publisher checks whether an existing certificate is already configured. If the current certificate is still valid, you are prompted to confirm before it is replaced. This helps prevent accidental replacement of an active and trusted signing certificate.

<figure><img src="/files/jrJN1FyAaWXqtAGr4UUA" alt="Import a PFX certificate" width="563"><figcaption></figcaption></figure>

When importing a new certificate, the Publisher will prompt you to confirm if an existing certificate is still valid, helping prevent accidental replacement of an active and trusted signing certificate.

<figure><img src="/files/12EMo4k2A89IldELZLhb" alt="Overwrite Certificate Validation" width="328"><figcaption></figcaption></figure>

To import a PFX certificate:

1. Click Import PFX Certificate
2. Browse to the location where the .pfx certificate is saved.
3. Click Open.
4. Enter the password for the private key

<figure><img src="/files/cmVugrH6yrFqsKR3snVw" alt="Enter the PFX password" width="390"><figcaption></figcaption></figure>

5. Click **OK**.

If the certificate is valid and suitable for code signing, the import completes successfully.

<figure><img src="/files/o3Wjkj8atyc0dkQMpUkP" alt="Import was succesful" width="444"><figcaption></figcaption></figure>

If the PFX certificate is not suitable for code signing operations, an error dialog will indicate that.

<figure><img src="/files/pd7RjY0SF1pQ2rEnoLco" alt="Certificate not suitable" width="317"><figcaption></figcaption></figure>

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

When importing a new certificate, the Publisher will prompt you to confirm if an existing certificate is still valid, helping prevent accidental replacement of an active and trusted signing certificate.
{% 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/administration/general/certificate-management/import-pfx-certificate.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.
