saul
parada
3
Common Name (eg, your name or your server's hostname) []: Client...Sign the certificate? [y/n]: y1 out of 1 certificate requests certified, commit? [y/n] yNow must be performed the following command in order to generate the Diffie-Hellmanparameters and increase the security:# ./build-dh# rm keys/*.csrIn the end must be found a set of archives inside of "/etc/openvpn/easy-rsa/keys" similar to:ca.crt client.key index.txt server.crt client.crtca.key index.txt.attr server.key serialNow it is necessary to install the keys, on both server and client.For the server we must copy the files "ca.crt", "server.crt", "server.key" and the Diffie-Hellman key(dh1024.pem) to a new folder "/etc/openvpn/keys".# cd /etc/openvpn/easy-rsa/keys# mkdir /etc/openvpn/keys# cp -a ca.crt server.crt server.key /etc/openvpn/keys/# cp -a dh1024.pem /etc/openvpn/keys/All the clients must have the archives "ca.crt", "dh1024.pem" and all the ".crt" and ".key"correspondent files. On the client side it is necessary, as well to create a new folder"/etc/openvpn/keys" and copy the files into.
Synchronizing the Server-Client clocks
All the machine clocks must be synchronized. For that purpose, the following command must beexecuted on both, server and client machines:# ntpdate -u pool.ntp.orgOpenVPN implementation scheme.
Leave a Comment