add batch for easyrsa command
This commit is contained in:
parent
c4fa268580
commit
10f8e81d92
@ -22,7 +22,7 @@ def generate_client_config(username: str):
|
||||
# Step 1: Generate the client certificate
|
||||
print(f"Generating certificate for user: {username}...")
|
||||
try:
|
||||
command = ["./easyrsa", "build-client-full", username, "nopass"]
|
||||
command = ["./easyrsa", "--batch", "build-client-full", username, "nopass"]
|
||||
process = subprocess.run(
|
||||
command,
|
||||
cwd=easyrsa_dir,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user