{"id":1741,"date":"2023-05-17T10:56:28","date_gmt":"2023-05-17T10:56:28","guid":{"rendered":"https:\/\/signmycode.com\/resources\/?p=1741"},"modified":"2025-08-22T10:02:08","modified_gmt":"2025-08-22T10:02:08","slug":"how-to-use-yubikey-for-code-signing-purpose","status":"publish","type":"post","link":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose","title":{"rendered":"How To Use YubiKey To Sign Windows Executable File?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Securing a private key and Code Signing certificate is extremely necessary as code tamper-proofing. And one of the reliable ways to secure them is using Yubico YubiKey FIPS compliant Hardware Token.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you will find out the complete process of importing the certificates to YubiKey. And how to use it for signing an executable file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Need for YubiKey FIPS-Compliant Hardware Token<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Whenever an individual software developer or a company needs to publish software, code signing gets performed. It helps to build a trustworthy relationship with end-users, as signed software eliminates Unknown Publisher Warnings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended: <\/strong><a href=\"https:\/\/signmycode.com\/resources\/unknown-publisher-warning-what-is-it-why-should-you-care\">Unknown Publisher Warning \u2013 What Is It &amp; Why Should You Care?<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently, according to new CA\/Browser policies, every certificate owner needs to store the private key in a hardware token. And the token must align with FIPS standards. Otherwise, the certificate will not get issued.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended: <a href=\"https:\/\/signmycode.com\/resources\/changes-issuing-ov-code-signing-certifificate-from-june-2023\">Important Changes in Issuing OV Code Signing Certificate From June 2023<\/a><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And when it comes to FIPS aligning tokens, Yubico YubiKey tops the list. It aids in storing certificates and associated private key in a secure ecosystem, preventing unauthorized access. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also, it seamlessly works with Windows OS, and you don&#8217;t need any paid or additional tools to use it. With the signtool utility, you can easily perform code signing using YubiKey HSM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites To Complete Before Signing Using YubiKey<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you start with the code signing using Yubikey, ensure that you tick off the following checklist:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You have a compatible YubiKey Token such as <strong><a href=\"https:\/\/www.yubico.com\/in\/product\/yubikey-5-nfc-fips\/\">YubiKey 5 NFC FIPS<\/a><\/strong>.<\/li>\n\n\n\n<li>A Code Signing Certificate from an authorized CA, such as <a href=\"https:\/\/signmycode.com\/brands\/comodo\">Comodo<\/a>, <a href=\"https:\/\/signmycode.com\/brands\/digicert\">DigiCert<\/a>, <a href=\"https:\/\/signmycode.com\/brands\/certera\">Certera<\/a>, and <a href=\"https:\/\/signmycode.com\/brands\/sectigo\">Sectigo<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Video Guide to Sign .EXE File using YubiKey Manager<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Sign .EXE File Using YubiKey Manager? - Detailed Guide from SignMyCode.com\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/kcuqUfgUVQo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step-By-Step Guide to Sign an Windows Executable File Using YubiKey <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you obtain a Code Signing Certificate and a compatible YubiKey, it&#8217;s time to start with the signing process. <strong>To tamper-proof the code, follow the steps:<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Importing the Certificate to YubiKey Manager<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ensure that you have completed the validation form and received your signed code.<\/li>\n\n\n\n<li>Connect your YubiKey device to your computer.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/signmycode.com\/resources\/steps-to-install-code-signing-certificate-in-your-yubikey\">Follow the Steps to Import (Install) Code Signing Certificate to YubiKey<\/a>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Signing an Application Using Sign Tool<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 1:<\/mark><\/strong> To sign an application, you have two options: <strong>an online utility or PowerShell<\/strong> and the <strong>Sign tool<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/powershell-admin.webp\" alt=\"Windows PowerShell Open\" class=\"wp-image-4542\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/powershell-admin.webp 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/powershell-admin-300x137.webp 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/powershell-admin-768x352.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2:<\/mark> <\/strong>If you choose to use the Sign tool, begin by downloading it from the official Microsoft website.<strong> Install it on your computer<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 3:<\/strong> <\/mark>Open a <strong>command prompt or PowerShell window<\/strong> and <strong>navigate to the directory<\/strong> where the Sign tool .exe file is saved.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"235\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-1024x235.png\" alt=\"command prompt or PowerShell window\" class=\"wp-image-3501\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-1024x235.png 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-300x69.png 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-768x176.png 768w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-1536x352.png 1536w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3-1568x360.png 1568w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_3.png 1892w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 4: <\/mark><\/strong>Retrieve the service <strong>certificate&#8217;s thumbprint<\/strong> from the <strong>certificate&#8217;s details<\/strong> column.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"513\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/thumbprints-value-certmgr-min.webp\" alt=\"Thumbprint Value\" class=\"wp-image-4543\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/thumbprints-value-certmgr-min.webp 413w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/thumbprints-value-certmgr-min-242x300.webp 242w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 5:<\/strong> <\/mark>Use the following command as a template for signing your code, replacing the &#8220;<strong>thumbprint<\/strong>&#8221; and &#8220;<strong>timestamp URL<\/strong>&#8221; with the appropriate values. You can use any timestamp server URL.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\\signtool sign \/sha1 &lt;thumbprint&gt; \/fd sha256 \/t &lt;timestamp&gt; C:\\path\\to\\your_application.exe<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 6: <\/mark><\/strong>After <strong>replacing the values<\/strong>, your command line should resemble the example given below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"106\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-1024x106.png\" alt=\"replacing the values\" class=\"wp-image-3503\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-1024x106.png 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-300x31.png 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-768x80.png 768w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-1536x160.png 1536w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6-1568x163.png 1568w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/Step_6.png 1857w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 7:<\/mark> <\/strong>Run the command, and a pop-up window will prompt you to enter the default PIN(<strong>123456<\/strong>) for your YubiKey.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"642\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/smart-card.webp\" alt=\"Smart Card\" class=\"wp-image-4544\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/smart-card.webp 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/smart-card-300x188.webp 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/smart-card-768x482.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 8:<\/strong> <\/mark>If the above pop-up window does not appear, ensure that your command is correct and all the necessary values are replaced accurately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\"><strong>Step 9:<\/strong> <\/mark>Once you <strong>enter the default PIN<\/strong>, you will receive a success message indicating that the file has been successfully signed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"102\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-1024x102.png\" alt=\"success message\" class=\"wp-image-3505\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-1024x102.png 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-300x30.png 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-768x77.png 768w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-1536x154.png 1536w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9-1568x157.png 1568w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/02\/Step_9.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 10:<\/mark> <\/strong>To <strong>verify the signature<\/strong>, you can <strong>view the properties of your .exe file<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"601\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/check-digital-signature-min.webp\" alt=\"Verify Digital Signature\" class=\"wp-image-4545\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/check-digital-signature-min.webp 1024w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/check-digital-signature-min-300x176.webp 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/check-digital-signature-min-768x451.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By following this tutorial guide, you have learned how to import a certificate to a YubiKey manager and sign an application using the Sign tool. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These steps ensure the integrity and authenticity of your code by applying digital signatures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">YubiKey Common FAQs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What does YubiKey Code mean?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Primarily, YubiKey functions as a second layer of authentication for Microsoft, Google, and other online services. And the YubiKey code is the AES-encrypted 128-bit password that gets created through the concatenation of YubiKey fields.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How can I utilize YubiKey for authentication purposes?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To utilize YubiKey for authentication, follow the steps below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 1:<\/mark><\/strong> Access the <strong>Yubico Authenticator App<\/strong> and click on <strong>Control<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#00b373\" class=\"has-inline-color\">Step 2:<\/mark> <\/strong>Select the <strong>Scan option to scan the QR code<\/strong>, getting displayed on the screen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Further, duplicate the QR code and store it to use it as a backup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is YubiKey a Private Key associated with Code Signing Certificate?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yubikey is not a private key. It&#8217;s a FIPS-compliant Hardware Security Module that aids in securely storing private key and associated certificates. It allows one to import a private to it or generate one directly to YubiKey storage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is Certificate Configuration possible with YubiKey?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To perform certificate configuration, run the YubiKey Manager tool on your machine. Once it opens, go to Home Page&gt;&gt; Applications &gt;&gt;PIV.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Further, select Certificates &gt;&gt; Configure Certificates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What does YubiKey Key Generation and Attestation refer to?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Every YubiKey contains a private key and a certificate by default. It aids you in generating an attestation certificate to ensure private key generation on the YubiKey.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended: <a href=\"https:\/\/signmycode.com\/resources\/private-key-generation-and-csr-attestation-with-yubikey-manager\">Private Key Generation and CSR Attestation with YubiKey Manager<\/a><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does YubiKey comply with FIPS standards?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, YubiKey complies with FIPS standards. However, you must select the correct version before you order it. You must always check the compliant version list before you avail one for you. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It would help you align with <a href=\"https:\/\/signmycode.com\/blog\/ca-b-forum-code-signing-baseline-requirements-v2-8\">CA\/B forum policies<\/a> and seamlessly utilize the code signing certificate.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Securing a private key and Code Signing certificate is extremely necessary as code tamper-proofing. And one of the reliable ways to secure them is using Yubico YubiKey FIPS compliant Hardware Token. Here, you will find out the complete process of importing the certificates to YubiKey. And how to use it for signing an executable file.&hellip; <a class=\"more-link\" href=\"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose\">Read More <span class=\"screen-reader-text\">How To Use YubiKey To Sign Windows Executable File?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1919,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[568,284],"class_list":["post-1741","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code-signing-tutorials","tag-install-a-yubikey","tag-sign-an-executable-file-using-yubikey","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Sign a Windows Executable File Using YubiKey?<\/title>\n<meta name=\"description\" content=\"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Sign a Windows Executable File Using YubiKey?\" \/>\n<meta property=\"og:description\" content=\"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose\" \/>\n<meta property=\"og:site_name\" content=\"SignMyCode - Resources\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-17T10:56:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-22T10:02:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"912\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Janki Mehta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp\" \/>\n<meta name=\"twitter:creator\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:site\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Janki Mehta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose\"},\"author\":{\"name\":\"Janki Mehta\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\"},\"headline\":\"How To Use YubiKey To Sign Windows Executable File?\",\"datePublished\":\"2023-05-17T10:56:28+00:00\",\"dateModified\":\"2025-08-22T10:02:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose\"},\"wordCount\":890,\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-sign-executable-file-using-yubikey-jpg.webp\",\"keywords\":[\"install a YubiKey\",\"Sign an Executable File Using YubiKey\"],\"articleSection\":[\"Code Signing Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose\",\"name\":\"How to Sign a Windows Executable File Using YubiKey?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-sign-executable-file-using-yubikey-jpg.webp\",\"datePublished\":\"2023-05-17T10:56:28+00:00\",\"dateModified\":\"2025-08-22T10:02:08+00:00\",\"description\":\"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#primaryimage\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-sign-executable-file-using-yubikey-jpg.webp\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-sign-executable-file-using-yubikey-jpg.webp\",\"width\":912,\"height\":453,\"caption\":\"Sign Executables using Yubikey\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-yubikey-for-code-signing-purpose#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Use YubiKey To Sign Windows Executable File?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"name\":\"SignMyCode - Resources\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\",\"name\":\"SignMyCode\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"width\":135,\"height\":86,\"caption\":\"SignMyCode\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Sign_My_Code\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\",\"name\":\"Janki Mehta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"caption\":\"Janki Mehta\"},\"description\":\"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\\\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.\",\"sameAs\":[\"http:\\\/\\\/smcresources.ssltoolsonline.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Sign a Windows Executable File Using YubiKey?","description":"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose","og_locale":"en_US","og_type":"article","og_title":"How to Sign a Windows Executable File Using YubiKey?","og_description":"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.","og_url":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose","og_site_name":"SignMyCode - Resources","article_published_time":"2023-05-17T10:56:28+00:00","article_modified_time":"2025-08-22T10:02:08+00:00","og_image":[{"width":912,"height":453,"url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","type":"image\/jpeg"}],"author":"Janki Mehta","twitter_card":"summary_large_image","twitter_image":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","twitter_creator":"@Sign_My_Code","twitter_site":"@Sign_My_Code","twitter_misc":{"Written by":"Janki Mehta","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#article","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose"},"author":{"name":"Janki Mehta","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f"},"headline":"How To Use YubiKey To Sign Windows Executable File?","datePublished":"2023-05-17T10:56:28+00:00","dateModified":"2025-08-22T10:02:08+00:00","mainEntityOfPage":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose"},"wordCount":890,"publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"image":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","keywords":["install a YubiKey","Sign an Executable File Using YubiKey"],"articleSection":["Code Signing Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose","url":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose","name":"How to Sign a Windows Executable File Using YubiKey?","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#primaryimage"},"image":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","datePublished":"2023-05-17T10:56:28+00:00","dateModified":"2025-08-22T10:02:08+00:00","description":"Learn how to use YubiKey to securely store your code signing certificate that you already issued from trusted certificate authority in the .pfx format.","breadcrumb":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#primaryimage","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2023\/05\/how-to-sign-executable-file-using-yubikey-jpg.webp","width":912,"height":453,"caption":"Sign Executables using Yubikey"},{"@type":"BreadcrumbList","@id":"https:\/\/signmycode.com\/resources\/how-to-use-yubikey-for-code-signing-purpose#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/signmycode.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How To Use YubiKey To Sign Windows Executable File?"}]},{"@type":"WebSite","@id":"https:\/\/signmycode.com\/resources\/#website","url":"https:\/\/signmycode.com\/resources\/","name":"SignMyCode - Resources","description":"","publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/signmycode.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/signmycode.com\/resources\/#organization","name":"SignMyCode","url":"https:\/\/signmycode.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","width":135,"height":86,"caption":"SignMyCode"},"image":{"@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Sign_My_Code"]},{"@type":"Person","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f","name":"Janki Mehta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","caption":"Janki Mehta"},"description":"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.","sameAs":["http:\/\/smcresources.ssltoolsonline.com"]}]}},"_links":{"self":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/1741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/comments?post=1741"}],"version-history":[{"count":19,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/1741\/revisions"}],"predecessor-version":[{"id":4546,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/1741\/revisions\/4546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media\/1919"}],"wp:attachment":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media?parent=1741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/categories?post=1741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/tags?post=1741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}