Problems with the tls-export-cert directive

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
thanosk
OpenVpn Newbie
Posts: 1
Joined: Fri Oct 13, 2023 2:25 pm

Problems with the tls-export-cert directive

Post by thanosk » Fri Oct 13, 2023 4:03 pm

Hello

I have been trying to do some authentication based on the client's certificate X509v3 Certificate Policies
and I have tried to use tls-export-cert directive .

But it seems that the certificate that is saved is the issuer certificate, which is included in the bundle, and not the actual client certificate
The configuration is pretty trivial

Code: Select all

tls-export-cert /opt/tmp/
Is there a way to fix this or is this expected behaviour ?

Post Reply