OpenVPN / OpenVPN/openvpn

tls-export-cert does not export the correct client cert

Open
#430 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

moreinformationneeded
Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

In case the peer uses a certificate bundle that includes the root certificate and/or an intermediary certificates the certificate that is exported when tls-export-cert is defined is the root certificate of the bundle and not the actual client certificate

Version information (please complete the following information):

  • OS: CentOS Linux release 7.9.2009 (Core)
  • OpenVPN version: OpenVPN 2.4.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the tls-export-cert handling and how a client certificate bundle is selected. Reproduce the issue with a bundle containing the client, intermediary, and root certificates, then verify that the exported certificate is the actual client certificate rather than the bundle's root certificate.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.