Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GnuTLS GnuTLS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 271
    • Issues 271
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gnutlsgnutls
  • GnuTLSGnuTLS
  • Issues
  • #971
Closed
Open
Issue created Apr 07, 2020 by Bernhard M. Wiedemann@bmwiedemann1

certtool cannot extend certs beyond 2049-12-31

While working on reproducible builds for openSUSE, I found that certtool cannot extend certs beyond 2049-12-31

Maybe related to 5b3230ff that says we generate dates with GeneralizedTime format after 2050

Here is a recent example from LibreOffice, but I have seen this problem before with several other certs:

libreoffice-core> certtool -u --load-ca-privkey desktop/qa/data/test-PK-signing.pem  --load-ca-certificate desktop/qa/data/test-cert-chain-1.pem  --load-certificate desktop/qa/data/test-cert-chain-3.pem > x
Generating a signed certificate...
Activation/Expiration time.
The certificate will expire in (days): 11111
set_expiration: ASN1 parser: Element was not found.

The error is probably produced from a src/certtool.c call to gnutls_x509_crt_set_expiration_time

Assignee
Assign to
Time tracking