fix location call easyrsa

This commit is contained in:
arthur 2025-10-18 21:16:22 +07:00
parent ae6eb545e1
commit f00af48d27

View File

@ -12,7 +12,7 @@ def generate_client_config(username: str):
Args:
username: The username for which to generate the config.
"""
easyrsa_dir = "/etc/openvpn/easy-rsa/"
easyrsa_dir = "/home/arthur/openvpn-ca/easyrsa"
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"