Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • GnuTLS GnuTLS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • 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
  • gnutls
  • GnuTLSGnuTLS
  • Issues
  • #732
Closed
Open
Created Mar 16, 2019 by lrn1986@gmail.com via GitLab Support Bot@support-bot

Service Desk (from lrn1986): DEFAULT_TRUST_STORE_FILE relocation

I'm building a MinGW version of GnuTLS, so i'd like to use ca-certificates trust file at /etc/pki/tls/certs/ca-bundle.crt instead of the Windows system certstore. How do i achieve relocatability to ensure that this file is always correctly found (assuming that / is the directory where bin/libgnutls-30.dll is located)? That is, i'm asking whether anyone has any best practices and ready advice for this. Obviously, i can hack up the required code myself (wouldn't be the first time...). Maybe there's some config option somewhere that allows changing this path at runtime? And yes, i mean the default certstore, the one that GnuTLS uses for gnutls_x509_trust_list_add_system_trust().

Or should i use p11kit instead?

signature.asc

Edited Mar 16, 2019 by Nikos Mavrogiannopoulos
Assignee
Assign to
Time tracking