diff --git a/Dockerfile b/Dockerfile index 3a751b3..1a07bee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,9 @@ ENV EASYRSA /usr/share/easy-rsa ENV EASYRSA_PKI $OPENVPN/pki ENV EASYRSA_VARS_FILE $OPENVPN/vars +# Prevents refused client connection because of an expired CRL +ENV EASYRSA_CRL_DAYS 3650 + VOLUME ["/etc/openvpn"] # Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp` diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 39ae41d..6c506a7 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -17,6 +17,9 @@ ENV EASYRSA /usr/share/easy-rsa ENV EASYRSA_PKI $OPENVPN/pki ENV EASYRSA_VARS_FILE $OPENVPN/vars +# Prevents refused client connection because of an expired CRL +ENV EASYRSA_CRL_DAYS 3650 + VOLUME ["/etc/openvpn"] # Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`