fix location call easyrsa
This commit is contained in:
parent
f00af48d27
commit
c4fa268580
@ -12,7 +12,7 @@ def generate_client_config(username: str):
|
|||||||
Args:
|
Args:
|
||||||
username: The username for which to generate the config.
|
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"
|
ca_path = "/home/arthur/openvpn-ca/pki/ca.crt"
|
||||||
ta_path = "/home/arthur/openvpn-ca/ta.key"
|
ta_path = "/home/arthur/openvpn-ca/ta.key"
|
||||||
client_crt_path = f"/home/arthur/openvpn-ca/pki/issued/{username}.crt"
|
client_crt_path = f"/home/arthur/openvpn-ca/pki/issued/{username}.crt"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user