fix location call easyrsa

This commit is contained in:
arthur 2025-10-18 21:18:23 +07:00
parent f00af48d27
commit c4fa268580

View File

@ -12,7 +12,7 @@ def generate_client_config(username: str):
Args:
username: The username for which to generate the config.
"""
easyrsa_dir = "/home/arthur/openvpn-ca/easyrsa"
easyrsa_dir = "/home/arthur/openvpn-ca/"
ca_path = "/home/arthur/openvpn-ca/pki/ca.crt"
ta_path = "/home/arthur/openvpn-ca/ta.key"
client_crt_path = f"/home/arthur/openvpn-ca/pki/issued/{username}.crt"