Code signing certificate vs TLS certificate: two certificate uses

Code signing and TLS certificates are different certificate uses with separate CA/Browser Forum rules, lifetimes and post-quantum standards. This page sets out what each covers and which one applies to your system.

On this page

How do code signing and TLS certificates differ, and which one do you need?

A vendor questionnaire, tender or audit request asks whether your product uses a code signing certificate or a TLS certificate, and the answer depends on what the certificate is for. A code signing certificate authenticates the publisher of software, so a recipient can check who released a file or update. A TLS certificate authenticates a server in a connection, so a client can check the server it is talking to. The two follow separate CA/Browser Forum baseline requirements, and those requirements set different validity limits: the Code Signing Baseline Requirements version 3.11.0 cap code signing certificates issued on or after 1 March 2026 at 460 days, while the TLS Baseline Requirements version 2.3.2 step the maximum subscriber certificate validity down from 200 days in March 2026 to 47 days from 15 March 2029.

Public key infrastructure and security reviewers usually meet this question first, followed by procurement teams reading vendor documents. It arises in three places: signing pipelines, where build systems sign binaries, firmware and packages; web server and load balancer configuration, where TLS certificates terminate connections; and vendor security documents that list which certificate types a product depends on. Reviewers should confirm which certificate type each system uses, who holds its private key, and where that key is stored. The code signing baseline requires that, from 1 June 2023, the subscriber's private key be generated, stored and used in a suitable hardware crypto module, so a signing pipeline should be checked against that requirement, not assumed to comply.

For post-quantum planning, the two uses move on different timelines because their trust and signature roles differ. RFC 9708 notes that post-quantum signatures can protect software updates, and RFC 9802 says stateful hash-based signatures suit firmware and software signing under a tightly controlled signing environment but are generally not appropriate for end-entity certificates. TLS certificates instead depend on the signature schemes that TLS 1.3 negotiates, which RFC 8446 says the client advertises in the signature_algorithms extension. Ask each vendor which certificate type they depend on, which algorithm it uses today, and whether a post-quantum path is documented, and confirm compatibility for the specific versions you run.

Code signing and TLS certificates side by side

This table compares code signing and TLS server certificates across the attributes the sources give, including governing document, maximum validity, key storage, timestamp rules and the post-quantum standards that name each use. Read each row across both columns, and check the cited section numbers against the current version of each document before relying on a value.

AttributeCode signing certificateTLS server certificate
Governing document and versionCA/Browser Forum Code Signing Baseline Requirements version 3.11.0 (16 June 2026)CA/Browser Forum Baseline Requirements for TLS server certificates version 2.3.2
PurposeSigning software and firmware so recipients can verify who signed and detect changesAuthenticating a server to a client during a TLS handshake
Maximum validity (from listed dates)Not over 460 days for certificates issued on or after 1 March 2026 (section 6.3.2)200 days from 15 March 2026, 100 days from 15 March 2027, 47 days from 15 March 2029 (section 6.3.2)
Key storage requirementKey generated, stored and used in a suitable Hardware Crypto Module from 1 June 2023 (section 6.2.7.4.2)The sources listed on this page do not state a key storage rule for TLS server certificates; check the TLS Baseline Requirements
Timestamp rulesTimestamp Authority root and subordinate keys in an offline Hardware Crypto Module from 15 April 2025; no SHA-1 timestamp tokens since 30 April 2022Not applicable to TLS server certificates
Post-quantum standards naming this useRFC 9802 (June 2025) for stateful hash-based signatures in firmware and software signing; RFC 9708 (January 2025) for post-quantum software update signaturesdraft-ietf-tls-mldsa-06 (11 September 2026, not yet published as an RFC) defines TLS 1.3 ML-DSA signature scheme codepoints; RFC 8446 section 4.2.3 governs signature algorithm negotiation
Post-quantum certificate and signature formatsRFC 9881 and RFC 9909 define X.509 identifiers for ML-DSA and SLH-DSA; RFC 9814 defines SLH-DSA for CMSRFC 9881 and RFC 9909 define X.509 identifiers for ML-DSA and SLH-DSA; RFC 9814 defines SLH-DSA for CMS

What each certificate is for and where it is defined

Code signing certificates authenticate the publisher of software, firmware and other signed artifacts. The CA/Browser Forum Code Signing Baseline Requirements version 3.11.0, dated 16 June 2026, set the rules a certificate authority must follow when it issues and manages these certificates. Practitioners meet these rules when they procure certificates, sign release artifacts or review a signing pipeline.

  • Validity limit: Code Signing Certificates issued on or after 1 March 2026 must not have a validity period over 460 days (section 6.3.2).
  • Key protection: From 1 June 2023, the CA must ensure the Subscriber's private key is generated, stored and used in a suitable Hardware Crypto Module (section 6.2.7.4.2).
  • Timestamp authority keys: From 15 April 2025, a Timestamp Authority must protect the private keys of its Root and Subordinate CA certificates with the Time Stamping EKU in an offline Hardware Crypto Module.
  • Timestamp hash algorithm: Since 30 April 2022, CAs must not support SHA-1 for timestamp tokens.
  • Post-quantum reference: RFC 9708 says post-quantum signatures can protect software updates, and RFC 9802 says stateful hash-based signatures suit firmware and software signing under a tightly controlled signing environment.

Before planning any change, confirm the current version of the requirements with your CA and check which signing hardware and timestamp services your build pipeline uses.

Which differences change how you run certificates in practice

Code signing and TLS certificates follow different validity limits, key storage rules and validation reuse periods, each set by its own CA/Browser Forum baseline. The cards below cover the differences that change renewal schedules, key handling and timestamp infrastructure, and the checks to run against each.

Validity limits differ by certificate type

Code Signing Certificates issued on or after 1 March 2026 must not have a validity period over 460 days, under section 6.3.2 of the Code Signing Baseline Requirements version 3.11.0. TLS server certificates issued from 15 March 2026 are limited to 200 days, under section 6.3.2 of the TLS Baseline Requirements version 2.3.2. Renewal calendars, automation and monitoring built for one type will not match the other. Check the expiry dates and renewal triggers for each certificate in your inventory against the limit that applies to its type.

Code signing BR

Code signing keys require hardware storage

From 1 June 2023, the Code Signing Baseline Requirements version 3.11.0 require the CA to ensure the Subscriber's private key is generated, stored and used in a suitable Hardware Crypto Module, under section 6.2.7.4.2. Your signing workflow must therefore keep the key inside an approved module rather than in a file on a build server. Confirm with your CA which modules it accepts and how signing jobs reach them before you plan any change to the signing pipeline.

Code signing BR

Timestamp authority key rules

The Code Signing Baseline Requirements version 3.11.0 say that from 15 April 2025, a Timestamp Authority must protect the private keys of its Root and Subordinate CA certificates with the Time Stamping EKU in an offline Hardware Crypto Module. Since 30 April 2022, CAs must not support SHA-1 for timestamp tokens. If your signed artifacts depend on a timestamp service, check how the service protects its keys and which hash algorithms it accepts. Timestamp infrastructure is a separate dependency from the signing certificate itself, so review it separately.

Code signing BR

Reuse periods for TLS validation data

The TLS Baseline Requirements version 2.3.2 allow domain and IP validation data to be reused for 200 days from 15 March 2026, falling to 100 days from 15 March 2027 and 10 days from 15 March 2029. Subject identity information may be reused for 398 days from 15 March 2026. These periods govern how long a CA may rely on earlier validation, which affects how often your domains and IP addresses must be revalidated during renewal. Confirm the reuse period your CA applies, because it sets how far ahead you must start renewal work.

TLS BR

How validity limits and renewal cycles compare over time

TLS server certificate validity and code signing certificate validity are governed by different baseline requirements, and they change on different schedules. For TLS, the CA/Browser Forum Baseline Requirements for TLS server certificates, version 2.3.2, set the maximum subscriber certificate validity at 200 days from 15 March 2026, 100 days from 15 March 2027, and 47 days from 15 March 2029. Each step is a ceiling, so a team renewing on a 90-day cycle today will need to renew more often once the lower caps take effect. For code signing, the Code Signing Baseline Requirements version 3.11.0 set a single cap: Code Signing Certificates issued on or after 1 March 2026 must not have a validity period over 460 days (section 6.3.2). The cited version gives this as one fixed figure, with no later step-down in that document. Teams should confirm against the current version of the document before planning long-range renewals.

The practical effect on a renewal schedule differs sharply between the two. A TLS certificate issued under the 47-day limit must be replaced roughly every six to seven weeks, so renewal becomes an automated operational routine rather than an annual project. Under the 200-day limit, an endpoint needs renewal about twice a year. Reuse rules matter too: the TLS Baseline Requirements version 2.3.2 allow domain and IP validation data to be reused for 200 days from 15 March 2026, 100 days from 15 March 2027, and 10 days from 15 March 2029. As that reuse window shortens, validation must be repeated more often even where the certificate itself is still valid. A code signing certificate under the 460-day cap is renewed at most about once a year, so its schedule is far less demanding, though the key still has to be handled under the hardware module requirements in the same document.

For planning, the question is which dates each certificate type will reach and how many renewal events a given system will face between now and those dates. Ask the CA or your certificate management provider to confirm the validity and reuse windows they apply, and whether they have automated renewal in place before the 2029 step. Check any post-quantum migration plan against these dates, since a replacement certificate issued before a limit changes may fall under a different cap than one issued after. The dates in the sources are the ones to rely on, and the relevant CA/Browser Forum documents remain the authoritative reference for their exact wording.

How the two certificate uses sit in a signing flow and a TLS handshake

The left branch starts with a software publisher signing a binary with a code signing certificate, then sends a timestamp request to a timestamp authority so the signature stays checkable after the certificate expires. The right branch shows a TLS 1.3 client and server handshake, where the client sends its signature_algorithms list and then verifies the server certificate against it. Readers should check which document governs each node, since the code signing baseline requirements, the TLS baseline requirements and RFC 8446 set different rules for each hand-off.

Code signing and TLS certificates each follow their own baseline document at separate points in the flow.

How to work out which certificate applies to your situation

This sequence tells you which certificate type governs a given system, which baseline and contract rules apply to it, and what to confirm with the vendor before you plan any post-quantum migration. The output is a short record per system that names the certificate type, its governing rules and its open questions.

  1. Check whether the system signs or terminates connections

    Start by identifying what each system actually does with a certificate. A system that signs software artifacts, firmware, updates or installers needs a code signing certificate. A system that terminates TLS connections for a website, API or service endpoint needs a TLS server certificate. Some systems do both, and some sit behind a load balancer or gateway that holds the certificate on their behalf. Record the role for each system in your inventory and note who holds the private key. You know this step is done when every system in scope has one recorded role, and any system with both roles is flagged for separate review.

  2. Review the contract or customer requirement

    Next, read the contract, statement of work, customer security schedule or procurement requirement that covers the system. These documents often name the certificate type, the trust store the customer expects, or the baseline the vendor must follow. Write down each clause that names a certificate type or a baseline version, with its document title and section. Where a requirement names no certificate type, record that as an open point rather than assuming one. You know this step is done when each in-scope system has either a cited requirement or a logged gap.

  3. Map each certificate in the inventory

    Using your cryptographic inventory, list every code signing and TLS certificate in use, along with the system, the owning team, the issuing authority and the key storage location. Compare the list against the roles from the first step, and resolve any certificate that does not match a recorded role. Note where a private key sits in a hardware module, where it sits in software, and where it is copied. You know this step is done when every certificate in the inventory maps to exactly one system and one role, with its key location recorded.

  4. Identify the governing baseline for each certificate type

    Code signing and TLS certificates are governed by different CA/Browser Forum baselines. For code signing, the Code Signing Baseline Requirements version 3.11.0 set rules on validity periods and on hardware storage of subscriber private keys. For TLS server certificates, the TLS Baseline Requirements version 2.3.2 set a declining maximum validity period over several dates and separate reuse periods for validation data. Record the baseline version each certificate is issued under, and confirm that version against the version your CA states it follows. You know this step is done when each certificate type carries one named baseline version and the rule sections that apply to it.

  5. Confirm validity and key storage rules against the cited version

    Check each certificate's validity period and key storage against the baseline version you recorded in the previous step. Compare the validity dates in your inventory with the limits in the cited sections, and confirm that the key storage described by your CA and vendor matches the hardware requirements in that baseline. Mark any certificate whose validity or storage does not match, and record the difference as a question for the CA. You know this step is done when each certificate has a recorded check result, either matching or flagged with the specific rule it departs from.

  6. Ask the vendor which documents and versions apply

    For each system you received from a vendor, send a written question asking which certificate standard, baseline version and protocol specification the product follows. Ask whether signing or TLS termination is handled by the product or by your own configuration, and which versions of the product the answer covers. Request the vendor's documented position in writing, and note any point the vendor does not answer. You know this step is done when each vendor has a written answer naming documents and versions, or a logged refusal or gap.

Where code signing and TLS certificates show up in vendor documents and audits

Code signing certificates and TLS certificates appear in different places, and vendor documents and audit requests tend to ask about them separately. A code signing certificate sits in software release pipelines, firmware update processes and timestamp services, where it signs binaries, packages and updates so that a recipient can check who signed them and whether they changed. A TLS certificate sits in web servers, APIs and client connections, where it authenticates a server to a client during a handshake. When a tender or audit request asks about certificates, the reader should confirm which of the two uses it means, because the answers, owners and lifetimes differ. The CA/Browser Forum Code Signing Baseline Requirements version 3.11.0 say that Code Signing Certificates issued on or after 1 March 2026 must not have a validity period over 460 days, while the TLS Baseline Requirements version 2.3.2 set the maximum subscriber certificate validity at 200 days from 15 March 2026.

For code signing, the questions to put to a vendor concern the signing environment. The Code Signing Baseline Requirements version 3.11.0 say that from 1 June 2023 the certificate authority must ensure the subscriber's private key is generated, stored and used in a suitable Hardware Crypto Module, and that from 15 April 2025 a Timestamp Authority must protect the private keys of its root and subordinate CA certificates with the Time Stamping extended key usage in an offline Hardware Crypto Module. Ask where the signing key is held, whether it is in a hardware module, and whether the timestamp service signs with a hash algorithm other than SHA-1. For TLS, the questions concern the web servers, APIs and client connections that present the certificate, and whether the vendor can renew certificates on the shorter schedule the TLS Baseline Requirements set out.

The sources on this page do not state any product's support status for either certificate type, and they do not say whether any vendor's code signing or TLS implementation accepts post-quantum signature schemes. Confirm this against each vendor's own documentation for the versions you run, and check the audit or tender wording to see whether it refers to the release pipeline, the update channel, the web tier or all three. The IETF draft draft-ietf-tls-mldsa-06 defines TLS 1.3 signature scheme codepoints for ML-DSA, but its status is a draft, and the sources here do not say which products implement it.

Questions people ask about code signing and TLS certificates

Are a code signing certificate and a TLS certificate the same thing?

No. Both are X.509 certificates issued by a certificate authority, but they serve different purposes and follow different rules. A TLS certificate authenticates a web or API server so a client can set up an encrypted connection. A code signing certificate identifies the publisher of software, so a recipient can check who signed a file and whether it changed. The CA/Browser Forum publishes separate baseline requirements for each type, with different key storage and validity rules. Check the certificate profile and extended key usage in your own environment before assuming one can serve the other.

Which certificate has the longer validity period?

For new certificates, code signing certificates have the longer ceiling today. The CA/Browser Forum Code Signing Baseline Requirements version 3.11.0 say that code signing certificates issued on or after 1 March 2026 must not have a validity period over 460 days. The TLS Baseline Requirements version 2.3.2 set the maximum subscriber certificate validity at 200 days from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. That schedule shortens TLS lifetimes over time, so the gap narrows. Confirm the current limit in the version your CA follows.

Can a code signing certificate be used in place of a TLS certificate?

Generally not. A certificate's extended key usage and profile determine which purposes it may be used for, and the two baseline requirements impose different issuance and validation rules. Code signing certificates are validated against the signer's identity for software publishing, while TLS certificates are validated against control of a domain or IP address. Using one where the other is expected can cause clients to reject the connection or the signature. Confirm the certificate's extensions with your CA and test in your own environment before any substitution.

Does post-quantum migration timing differ between the two certificate types?

The sources give different points of focus for each. For TLS, the IETF draft draft-ietf-tls-mldsa-06 (11 September 2026) defines TLS 1.3 signature scheme codepoints for ML-DSA, but it is intended as Informational and is held in the RFC Editor queue. For code signing, RFC 9708 says post-quantum signatures can protect software updates, and RFC 9802 says stateful hash-based signatures suit firmware and software signing in a tightly controlled environment. The sources do not set a single migration date for either type. Ask your vendor and CA which post-quantum profiles they support and when.

Why do code signing certificates need hardware-protected keys?

The Code Signing Baseline Requirements version 3.11.0 say that from 1 June 2023 the CA must ensure the subscriber's private key is generated, stored and used in a suitable Hardware Crypto Module. Timestamp authorities face related rules, including offline hardware protection for their root and subordinate keys from 15 April 2025. TLS server certificates have their own key handling rules in the TLS baseline requirements. Hardware storage affects cost and operations, so include it in any quote for a code signing certificate.

Which post-quantum signature formats apply to certificates?

The standards split the work by use. NIST published FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) on 13 August 2024. RFC 9881 and RFC 9909 define X.509 certificate identifiers for ML-DSA and SLH-DSA, and RFC 9814 defines SLH-DSA for CMS. RFC 9802 says stateful hash-based schemes such as HSS and XMSS are generally not appropriate for end-entity certificates but may suit CA certificates in a tightly controlled signing environment. Signature sizes differ widely across these schemes, which affects certificate and file size. Check the parameter set and the profile your CA and tooling support.

What should I ask a vendor or CA about post-quantum support for these certificates?

Ask for specifics, not a general assurance:

  • Which post-quantum signature algorithms and parameter sets they issue or verify, and whether those follow FIPS 204 or FIPS 205
  • Which X.509 profile they use for certificates, such as the RFC 9881 or RFC 9909 identifiers
  • Whether they plan to support the TLS 1.3 ML-DSA codepoints in draft-ietf-tls-mldsa and the timing for each
  • How they handle hardware key storage and validity limits for each certificate type
  • What is one-time and what recurs in their pricing, and which drivers change the cost

Request written answers and dated test results where possible.

How DeployOpen works on this

DeployOpen plans and runs post-quantum certificate migration as a fixed-scope engagement, starting with a written scope that separates code signing certificates from TLS server certificates. The work covers inventory, configuration, testing and documentation inside your own infrastructure, with ongoing support available as a retainer.

How we scope

  • We agree in writing which code signing and TLS certificate systems are in scope before any work starts.
  • The scope records which certificate lifetimes, CA policies and signing environments apply to each certificate type.
  • Scope documents name the deliverables, timelines and any systems that will stay on classical certificates for now.

How we build

  • We configure signing and TLS components in your environment, keeping the code signing and TLS certificate paths separate.
  • Testing checks that signature algorithms negotiated in TLS and signed artifacts verify as your scope requires.
  • Hardware crypto module and private key handling is set up according to the CA requirements your scope references.

How we hand over

  • You receive documentation of configuration, certificate inventory and test results for each certificate type.
  • Handover notes identify which versions, parameter sets and standards each setting relies on, so you can confirm compatibility.
  • Runbooks cover certificate renewal under the shorter TLS validity periods that the CA/Browser Forum schedules.

How we support

  • Ongoing support is available as a retainer for upgrades when standards and CA requirements change.
  • Continuous testing can re-check certificate lifetimes and signing settings after each component update.
  • Your compliance team receives evidence for assessments, while independent auditors issue any audit report or certification.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.