Sunil Mohan Adapa 0176d706b9
openvpn: Use config file instead of env vars for easy-rsa
- A configuration file seems to be the preferred approach for invoke easy-rsa
since version 3.

- Drop unused configuration keys KEY_CONFIG, KEY_DIR and EASYRSA_REQ_NAME. These
are no longer referred to in the easy-rsa script.

- Remove configuration key EASYRSA_OPENSSL as the value 'openssl' is already the
default.

- Use pathlib.Path to simplify some code.

Tests:

- Re-run setup and notice the ca.cert file has not changed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-08-28 16:53:06 -04:00
..
2023-08-28 14:50:27 +02:00
2023-08-23 21:47:36 -04:00
2023-08-14 21:11:52 -04:00
2023-08-23 21:47:39 -04:00
2022-08-29 08:28:44 -04:00
2023-08-23 21:47:39 -04:00
2023-05-07 13:11:27 -04:00
2023-08-23 21:47:39 -04:00
2023-08-23 21:47:39 -04:00