# Is there a best practices/correct way of code signing the installer via CPACK?

**URL:** <https://discourse.cmake.org/t/is-there-a-best-practices-correct-way-of-code-signing-the-installer-via-cpack/5043>\
**Category:** Code\
**Created:** [February 17, 2022, 4:21pm UTC](https://discourse.cmake.org/t/is-there-a-best-practices-correct-way-of-code-signing-the-installer-via-cpack/5043 "2022-02-17T16:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottaronbloom](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@scottaronbloom](https://discourse.cmake.org/u/scottaronbloom)\
**Post date:** [February 17, 2022, 4:21pm UTC](https://discourse.cmake.org/t/is-there-a-best-practices-correct-way-of-code-signing-the-installer-via-cpack/5043/1 "2022-02-17T16:21:48Z")

</div>

Using the NSIS/CPack package modules, is there a variable (I cant find one) to set to point the installer to a code signing certificate?

If so What formats are supported?

If not, what settings need to get setup to sign the installer?
