Functions
MoRoS LAN PRO 2.0
46
5.
Respond to the queries.
The key and the certificate are created.
You will find two files with the names "Server1.key" and "Server1.crt" in the
sub-directory "keys".
The file name defined in the following must not contain special characters.
The common name to be specified then in the script is case sensitive and
should be equal to the file name.
6.
Enter the command
build-key <file name>
.
Enter your client name as file name instead of <file name>, e.g. "Client1".
Repeat this step for each individual client.
The script queries the information required for generating the script.
7.
Respond to the queries.
The client key and the client certificate are created.
You will find two files with the names "Client.key" and "Client.crt" (for each
client) in the sub-directory "keys".
The creation of private keys and certificates for the OpenVPN server and
the OpenVPN clients is completed.
Install and configure the certificate files and keys at the MoRoS LAN PRO 2.0
OpenVPN server.
How to configure the MoRoS LAN PRO 2.0 VPN server with the generated
certificates.
You have already created a CA certificate, Diffie-Hellman parameters and
private keys and certificates for the server and the clients.
1.
Navigate in the web interface of the MoRoS LAN PRO 2.0 to the menu "LAN
(ext)" to the page "OpenVPN server".
2.
Select the radio button "Authentication based on certificate".
3.
Click on OK to save the settings.
4.
Click in the section "Upload key or certificates" on Browse....
5.
Select the file with the CA certificate (e.g. ca.crt).
6.
Click on OK to upload the file.