CodeSign Secure Documentation
  • Overview
    • About CodeSign Secure
    • Getting Started
    • Documentation Guide
    • Portal Overview
    • Troubleshooting
      • FAQ
    • Glossary
  • Reference Guide
    • Header Bar
      • CodeSign Secure Documentation
      • Swagger API
      • Profile Section
    • Dashboard
      • Key Performance Indicators
      • Issued Certificates
      • Signatures Generated
      • HSM Health Check
    • Keys and Certificates
      • Key and Certificate Lifecycle
    • App Management
    • Signing Requests
      • Approval Workflows
    • Signing Tools
    • Reports
      • Signing Request Report
      • Audit Trail
      • Certificate Report
      • Client Report
    • Logs
    • System Setup
      • Identity Store
      • Backup
      • User
      • Roles and Permissions
      • Email
      • Signing Projects
      • SSL/TLS Management
      • Environment
      • Plugins
  • Setup & Architecture
    • Identity and Access Control
    • Architecture and Concepts
    • Installation
      • Windows
        • Installing the Server
        • Ports and Protocols
        • High Availability and Backup
        • Upgrades and Compatibility
    • Security
      • Security Hardening Checklist
      • Client Authentication
      • Designing Signing Policies
  • Release Notes
    • Releases for 2026
      • v3.2.1
    • Releases for 2025
      • v3.2.0
    • Releases for 2024
      • v3.1.0
  • API Reference
    • Getting Started
    • Authorizing Requests
    • Securing API Access
    • Request and Response Conventions
    • Endpoint Reference
      • Signing
      • Signing Requests
      • Certificates
      • Applications and Environments
      • User Management
      • Permissions
      • Email
      • System Setup
      • Reports
      • Dashboard
      • License
  • Integration Guides
    • Signing Capabilities
      • Supported Formats and Platforms
      • Timestamping
      • Windows Signing - SignTool
        • Signing
        • Macro Signing
      • Apple Signing
      • AppX & MSIX Signing
      • Visual Studio ClickOnce
      • Jar Signing
      • Sign HLK/HCK using CodeSign Secure
      • NuGet Signing
      • Mage Signing
      • Sign OVA/OVF using Encryption Consulting’s Utility Tool
      • Utility Tool for code signing
      • Container Signing
      • PKCS11 Wrapper
        • APK Signing
        • OpenSSL Signing
        • XML Signing
        • JSign Tool Signing
        • Jarsigner Signing
        • GPG2, Debian & RPM Signing
      • Reproducible Build
        • Automated Hash Validation
        • Reproducible Build Process Flow
        • Pipeline Script Components
        • Hash Validation
    • CI/CD Integration
      • GitHub Actions
      • Jenkins
      • GitLab
      • Azure DevOps
      • TeamCity
      • Bamboo
      • Securing CI/CD Credentials

Sign HLK/HCK using CodeSign Secure

Prerequisites
  • Encryption Consulting’s Utility Tool installed in the system.
  • OpenSSL Configured in the system. The two signing methods below require different certificate file formats (.crt for the Utility Tool, .pem for the KSP/signtool method); OpenSSL is used to convert between the two if you only have one format available.
  • Sample HLK/HCK file present in the system.

Encryption Consulting LLC's expertise in this domain ensures your code signing process is seamless, secure, and compliant with Microsoft's standards. Digitally signing your HLK package (.hlkx) involves a series of steps to create a secure and verifiable digital signature. These steps ensure that the code meets Microsoft's standards. We understand that flexibility is key, so we offer two methods for HLK signing. You can pick the one that best suits your requirements.

  1. Using our custom Utility Tool

    This method involves leveraging our in-house utility tool designed to perform all kinds of Windows signing (even HLK signing). This tool streamlines the signing process, making it efficient and hassle-free.

    NOTE: The Utility Tool prompts for the certificate path and requires a .crt file (unlike the KSP/signtool method below, which requires .pem). It will also prompt for an approval step if one is required for your account, and it writes the signature to a separate output file rather than signing the input file in place — you'll be prompted for the output file's name. No separate verification step is needed: the tool verifies the signature automatically and reports the result as Verification Status at the end of the run.

    Custom Utility Tool for HLK/HCK Signing
    Enter the appropriate details which will be prompted.

    With this method, you can expect the following benefits:

    • Simplicity : Our utility tool is designed with user-friendliness in mind. It simplifies the HLK signing process, reducing complexities and saving time.

    • Customization : We understand that each hardware component and driver is unique. Our utility tool allows for customization to meet your specific requirements.

    • Efficiency : Time is of the essence, and our tool is optimized for efficiency. You can expect quicker results without compromising quality.

  2. Using our KSP (Encryption Consulting Key Storage Provider) with Signtool

    This method involves using our KSP (Encryption Consulting Key Storage Provider) with Microsoft's signtool. This method offers a higher level of security and is ideal for clients who prioritize security and compatibility.

    Using KSP with Signtool

    The command is:

    signtool sign /csp "Encryption Consulting Key Storage Provider" /kc evcodesigning /fd SHA256 /f C:\Users\riley\Desktop\ForTesting\evcodesigning.pem /tr http://timestamp.digicert.com /td SHA256 C:\Users\riley\Desktop\CodeSign_UtilityTool\f9-879-e0-d5eba97-fa5264.hlkx
    • /csp

      To enter our KSP (Encryption Consulting Key Storage Provider). [This will not vary and remain constant]

    • /kc

      A key container within the CSP that holds the private key. [Rename it to the private key alias you’re going to use]

    • /fd

      File digest algorithm to use for creating file signatures.

    • /f

      Indicates the location of the public key file or certificate. [Make sure to sign using a .pem file only]

    • /tr

      Specifies the URL of the RFC 3161 timestamp server. This helps provide a timestamp for when the file was signed.

    • /td

      Specifies the digest algorithm used by the RFC 3161 timestamp server

    To verify the signed file, run:

    signtool verify /pa <path to the signed .hlkx file>

    With this method, you can expect the following benefits:

    • Enhanced Security : Our KSP adds a layer of security to the signing process, safeguarding your code and drivers from potential threats.

    • Integration with Microsoft Tools : By combining our KSP with Microsoft's signtool, you benefit from the best of both worlds – our expertise and Microsoft's trusted tools.

    • Compliance : We ensure your signing process aligns with Microsoft's standards, keeping your hardware and drivers fully compliant.

Overcoming Common Challenges with Encryption Consulting LLC

While HLK signing is essential, it can come with its challenges. Such as:

  • Addressing Driver Compatibility Issues

    HLK signing can uncover compatibility issues that must be addressed. This might involve revising code, fixing bugs, or adjusting hardware components.

  • Troubleshooting Code Signing Problems

    Code signing can sometimes be tricky, and errors can occur. Knowing how to troubleshoot and resolve these issues is crucial to achieving a successful HLK signing.

This is where Encryption Consulting LLC excels. Our team can swiftly address compatibility issues and troubleshoot code signing problems, ensuring your journey to HLK certification is smooth.

Why choose Encryption Consulting’s CodeSign Secure for HLK Signing?

We have three main benefits which support and help promote our CodeSign Secure as an ideal fit for HLK Signing. Those are:

  • Fortified Security - FIPS 140-2 Level 3 HSM Compliance

    Encryption Consulting LLC has taken security to the next level in response to CA/Browser Forum's June 1, 2023, requirement. Our private keys for CodeSigning certificates are stored, generated, and used within a Hardware Security Module (HSM) that complies with FIPS 140-2 Level 3 standards and never leaves the HSM in any situation. This rigorous compliance ensures the highest level of security for your code signing process, meeting industry standards and safeguarding your digital signatures.

  • Client-Side Hashing - Unveiling the Benefits with CodeSign Secure

    Our CodeSign Secure, utilised in both the utility tool and KSP methods, employs client-side hashing for your code signing needs, and it brings several benefits to the table:

    • Enhanced Efficiency : Client-side hashing reduces the load on your infrastructure, making the code-signing process more efficient. It minimises the need to transfer large files to a remote server for hashing, saving time and resources.
    • Privacy and Control : You maintain complete control over your data with client-side hashing. Your sensitive code and files remain within your network, reducing the risk of data exposure or interception during transmission.
    • Improved Compliance : Client-side hashing ensures that your code signing process complies with industry regulations and standards. It provides a transparent and auditable process, making demonstrating compliance to stakeholders, auditors, or regulatory authorities easier. This can be particularly crucial for industries with stringent compliance requirements.
  • Proxy-Based Access to HSM for Enhanced Security

    Proxy-based access to the keys stored in a Hardware Security Module (HSM) is one of the essential security elements provided by Encryption Consulting LLC. This approach significantly enhances security by safeguarding your private keys from unauthorised access and potential breaches. Our CodeSign Secure utilises proxy-based access to interact with the private keys stored in the HSM, ensuring the integrity and security of your code-signing process. This approach is crucial in establishing trust, verifying digital signatures, and securing the communication between your components and the HSM.

By integrating these advanced security measures and technologies into our code-signing process, Encryption Consulting LLC ensures that your HLK certification is reliable and fortified against potential threats, meeting the highest industry standards.

On this Page:
Support Privacy Policy Terms of Service

Copyright Encryption Consulting LLC. All rights reserved.