Vpn: Add a note on cert expirity configuration.

This commit is contained in:
Dmitry Voronin 2024-11-26 20:27:53 +03:00
parent 5cfbb60b83
commit 255de1df52
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,6 +1,7 @@
# easyrsa init-pki
# easyrsa build-ca
# easyrsa build-server-full <SERVER_NAME> nopass
# export EASYRSA_CERT_EXPIRE=36500
# easyrsa build-client-full <CLIENT_NAME> nopass
# openssl dhparam -out dh2048.pem 2048
# Don't forget to set tls hostname on the client to match SERVER_NAME *AND* disable ipv6 ?