From 6f01bcffd80d30142b4b68b500d6f5ee6c2f57b1 Mon Sep 17 00:00:00 2001 From: kerosina <164688001+kerosina@users.noreply.github.com> Date: Sun, 9 Feb 2025 12:12:48 +0000 Subject: [PATCH] Add -i to both configuration/certificate generating commands Without `-i`, the stdin wont be piped to the 2 containers and, while setting up the certificate, you'll get an error similar to this: ```136808030649672:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:583: 136808030649672:error:0906A065:PEM routines:PEM_do_header:bad decrypt:crypto/pem/pem_lib.c:461: ``` --- docs/docker-compose.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docker-compose.md b/docs/docker-compose.md index 422ebb25..b9dbbd16 100644 --- a/docs/docker-compose.md +++ b/docs/docker-compose.md @@ -21,8 +21,8 @@ services: * Initialize the configuration files and certificates ```bash -docker-compose run --rm openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM -docker-compose run --rm openvpn ovpn_initpki +docker-compose run --rm openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM -i +docker-compose run --rm openvpn ovpn_initpki -i ``` * Fix ownership (depending on how to handle your backups, this may not be needed)