# Generate the capsule

Capsule generation tools create capsule files that update firmware on devices. They package firmware updates into a format that can be installed directly on hardware. These tools work on both Linux and Windows, offering flexibility for different development environments. To keep updates secure and verified, they use OpenSSL for generating and signing certificates.

**Prerequisites to run the capsule**

Before you begin, do the following:

- Generate the capsule. For scripts and instructions, see: [https://github.com/quic/cbsp-boot-utilities/tree/main/uefi_capsule_generation](https://github.com/quic/cbsp-boot-utilities/tree/main/uefi_capsule_generation).
- Obtain the git clone link `cbsp-boot-utilities/uefi_capsule_generation/` directory at [https://github.com/quic/cbsp-boot-utilities.git](https://github.com/quic/cbsp-boot-utilities.git).

The following tools are required for Linux and Windows.

| Linux | Windows |
| --- | --- |
| <ul class="simple"><br><li><p>OpenSSL: A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.</p></li><br><li><p>Python3: A programming language that’s widely used for scripting and automation.</p></li><br><li><p>Git: Version control system.</p></li><br></ul> | <ul class="simple"><br><li><p>OpenSSL: A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.</p></li><br><li><p>Python3: A programming language that’s widely used for scripting and automation.</p></li><br><li><p>Visual Studio with C++ Development Tool: An integrated development environment (IDE) from Microsoft, which includes tools for C++ development.</p></li><br><li><p>Git: Version control system.</p></li><br></ul> |

Last Published: Dec 28, 2025

[Previous Topic
Update capsule and trialboot rollback in base and advance variants](https://docs.qualcomm.com/bundle/publicresource/80-70023-4/topics/capsule-update-for-base-and-advance-variants.md) [Next Topic
Boot interfaces overview](https://docs.qualcomm.com/bundle/publicresource/80-70023-4/topics/interfaces.md)