mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-13 01:44:23 +02:00
Disable DH and enable ECDH
cf. https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage#lbAK
This commit is contained in:
parent
fa6cf4e569
commit
56fad22cad
@ -403,7 +403,6 @@ WantedBy=multi-user.target" > /etc/systemd/system/rc-local.service
|
|||||||
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
# Create the PKI, set up the CA, the DH params and the server + client certificates
|
||||||
./easyrsa init-pki
|
./easyrsa init-pki
|
||||||
./easyrsa --batch build-ca nopass
|
./easyrsa --batch build-ca nopass
|
||||||
openssl dhparam $DH_KEY_SIZE -out dh.pem
|
|
||||||
./easyrsa build-server-full server nopass
|
./easyrsa build-server-full server nopass
|
||||||
./easyrsa build-client-full $CLIENT nopass
|
./easyrsa build-client-full $CLIENT nopass
|
||||||
./easyrsa gen-crl
|
./easyrsa gen-crl
|
||||||
@ -461,7 +460,7 @@ ca ca.crt
|
|||||||
cert server.crt
|
cert server.crt
|
||||||
key server.key
|
key server.key
|
||||||
tls-auth tls-auth.key 0
|
tls-auth tls-auth.key 0
|
||||||
dh dh.pem
|
dh none
|
||||||
auth SHA256
|
auth SHA256
|
||||||
$CIPHER
|
$CIPHER
|
||||||
tls-server
|
tls-server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user