user home directory in client.conf

Need help configuring your VPN? Just post here and you'll get that help.

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
Leon2
OpenVpn Newbie
Posts: 1
Joined: Mon May 17, 2021 7:28 am

user home directory in client.conf

Post by Leon2 » Mon May 17, 2021 7:36 am

Hi!

I have placed the certificates in the home directory of the user. Like:
cert /home/leon/client-cert.pem

I would like to use the same client.conf for all client computers.
Is there a function to expand the user home directory path?
something like:
cert ~/client-cert.pem
or
cert $HOME/client-cert.pem

Thank you!
Leon

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: user home directory in client.conf

Post by TinCanTech » Mon May 17, 2021 6:27 pm

This is a configuration file and does not support any expansion.

Post Reply