Answer the question
In order to leave comments, you need to log in
How to change OpenVPN keys?
The Ubuntu server is set up as a proxy and hosted by OpenVPN. The task is to change the keys.
Answer the question
In order to leave comments, you need to log in
raise another OpenVPN instance on a different port
generate a new key for it
transfer all clients to the new server
kill the old one
The installation package contains scripts.
build-ca
build-dh
build-inter
build-key
build-key-pass
build-key-pkcs12
build-key-server
build-req
build-req-pass
clean-all
inherit-inter
list-crl
Makefile
openssl-0.9.6.cnf
openssl.cnf
pkitool
README
revoke-full
sign-req
vars
whichopensslcnf
export KEY_SIZE=2048
export CA_EXPIRE=3650
export KEY_EXPIRE=3650
export KEY_COUNTRY="DE"
export KEY_PROVINCE="none"
export KEY_CITY="Berlin"
export KEY_ORG="vpn01 v.p.n.."
export KEY_EMAIL="[email protected]"
./build-ca ${NAME}
./build-dh
./build-key-server ${NAME}-server
"${OPENVPN}" --genkey --secret "./keys/${NAME}-ta.key"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question