removed crl-verify from client config
- specified full path to crl in server config - added crl generation when setting up a container
This commit is contained in:
parent
97e322ba22
commit
f5057dfac4
9 changed files with 12 additions and 10 deletions
|
@ -18,7 +18,7 @@ user nobody
|
|||
group nobody
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
crl-verify /opt/amnezia/openvpn/crl.pem
|
||||
status openvpn-status.log
|
||||
verb 1
|
||||
tls-server
|
||||
|
|
|
@ -21,5 +21,6 @@ cd /opt/amnezia/openvpn && easyrsa gen-dh; \
|
|||
cd /opt/amnezia/openvpn && cp pki/dh.pem /opt/amnezia/openvpn && easyrsa build-ca nopass << EOF yes EOF && easyrsa gen-req AmneziaReq nopass << EOF2 yes EOF2;\
|
||||
cd /opt/amnezia/openvpn && easyrsa sign-req server AmneziaReq << EOF3 yes EOF3;\
|
||||
cd /opt/amnezia/openvpn && openvpn --genkey --secret ta.key << EOF4;\
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn'
|
||||
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn;\
|
||||
cd /opt/amnezia/openvpn && easyrsa gen-crl;\
|
||||
cd /opt/amnezia/openvpn && cp pki/crl.pem /opt/amnezia/openvpn/crl.pem'
|
||||
|
|
|
@ -5,7 +5,6 @@ resolv-retry infinite
|
|||
nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
$OPENVPN_NCP_DISABLE
|
||||
cipher $OPENVPN_CIPHER
|
||||
auth $OPENVPN_HASH
|
||||
|
|
|
@ -18,7 +18,7 @@ user nobody
|
|||
group nobody
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
crl-verify /opt/amnezia/openvpn/crl.pem
|
||||
status openvpn-status.log
|
||||
verb 1
|
||||
tls-server
|
||||
|
|
|
@ -21,4 +21,6 @@ cd /opt/amnezia/openvpn && easyrsa gen-dh; \
|
|||
cd /opt/amnezia/openvpn && cp pki/dh.pem /opt/amnezia/openvpn && easyrsa build-ca nopass << EOF yes EOF && easyrsa gen-req AmneziaReq nopass << EOF2 yes EOF2;\
|
||||
cd /opt/amnezia/openvpn && easyrsa sign-req server AmneziaReq << EOF3 yes EOF3;\
|
||||
cd /opt/amnezia/openvpn && openvpn --genkey --secret ta.key << EOF4;\
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn'
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn;\
|
||||
cd /opt/amnezia/openvpn && easyrsa gen-crl;\
|
||||
cd /opt/amnezia/openvpn && cp pki/crl.pem /opt/amnezia/openvpn/crl.pem'
|
||||
|
|
|
@ -5,7 +5,6 @@ resolv-retry infinite
|
|||
nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
$OPENVPN_NCP_DISABLE
|
||||
cipher $OPENVPN_CIPHER
|
||||
auth $OPENVPN_HASH
|
||||
|
|
|
@ -18,7 +18,7 @@ user nobody
|
|||
group nobody
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
crl-verify /opt/amnezia/openvpn/crl.pem
|
||||
status openvpn-status.log
|
||||
verb 1
|
||||
tls-server
|
||||
|
|
|
@ -21,4 +21,6 @@ cd /opt/amnezia/openvpn && easyrsa gen-dh; \
|
|||
cd /opt/amnezia/openvpn && cp pki/dh.pem /opt/amnezia/openvpn && easyrsa build-ca nopass << EOF yes EOF && easyrsa gen-req AmneziaReq nopass << EOF2 yes EOF2;\
|
||||
cd /opt/amnezia/openvpn && easyrsa sign-req server AmneziaReq << EOF3 yes EOF3;\
|
||||
cd /opt/amnezia/openvpn && openvpn --genkey --secret ta.key << EOF4;\
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn'
|
||||
cd /opt/amnezia/openvpn && cp pki/ca.crt pki/issued/AmneziaReq.crt pki/private/AmneziaReq.key /opt/amnezia/openvpn;\
|
||||
cd /opt/amnezia/openvpn && easyrsa gen-crl;\
|
||||
cd /opt/amnezia/openvpn && cp pki/crl.pem /opt/amnezia/openvpn/crl.pem'
|
||||
|
|
|
@ -5,7 +5,6 @@ resolv-retry infinite
|
|||
nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
$OPENVPN_NCP_DISABLE
|
||||
cipher $OPENVPN_CIPHER
|
||||
auth $OPENVPN_HASH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue