Changes

no edit summary
Line 25: Line 25:  
Simply run the downloaded file and follow the instructions of the installation guide.
 
Simply run the downloaded file and follow the instructions of the installation guide.
 
</li>
 
</li>
----
+
 
 
<li>
 
<li>
 
'''Important note''': at one point before the installation begins, you will be prompted to select which components should be included in the installation. Make sure to select '''EasyRSA''' as it will be needed later on to generate keys and certificates. You can leave the rest as defaults:
 
'''Important note''': at one point before the installation begins, you will be prompted to select which components should be included in the installation. Make sure to select '''EasyRSA''' as it will be needed later on to generate keys and certificates. You can leave the rest as defaults:
Line 39: Line 39:  
[[File:How to generate tls certificates windows part 1 v2.png]]
 
[[File:How to generate tls certificates windows part 1 v2.png]]
 
   </li>
 
   </li>
----
+
 
 
   <li>Change the current directory to the EasyRSA folder. To do so, execute this command:
 
   <li>Change the current directory to the EasyRSA folder. To do so, execute this command:
 
     <ul>
 
     <ul>
Line 45: Line 45:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>Initialize the OpenVPN configuration with the following command:
 
   <li>Initialize the OpenVPN configuration with the following command:
 
     <ul>
 
     <ul>
Line 51: Line 51:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>Open the '''''vars.bat''''' file with the Notepad text editor:
 
   <li>Open the '''''vars.bat''''' file with the Notepad text editor:
 
     <ul>
 
     <ul>
Line 57: Line 57:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>This is the template file for generating certificates, i.e., the information stored here will be offered as default values during certificate generation. Locate and edit the following lines in accordance with your needs:
 
   <li>This is the template file for generating certificates, i.e., the information stored here will be offered as default values during certificate generation. Locate and edit the following lines in accordance with your needs:
 
     <ul>
 
     <ul>
Line 67: Line 67:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>You can also set the size for the Diffie Hellman parameters:
 
   <li>You can also set the size for the Diffie Hellman parameters:
 
     <ul>
 
     <ul>
Line 73: Line 73:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>Once you're done, save the file and close the editor</li>
 
   <li>Once you're done, save the file and close the editor</li>
----
+
 
 
   <li>Run the following commands:
 
   <li>Run the following commands:
 
     <ul>
 
     <ul>
Line 82: Line 82:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>Now we can start generating the certificates. Begin with the '''certificate authority''' ('''CA''') file:
 
   <li>Now we can start generating the certificates. Begin with the '''certificate authority''' ('''CA''') file:
 
     <ul>
 
     <ul>
Line 89: Line 89:  
'''NOTE''': you can press the "Enter" key when prompted to enter the values set in the ''vars.bat'' file earlier. Doing this will set the values to the default specified in ''vars.bat''. However, you should type in a meaningful '''Common Name'''.
 
'''NOTE''': you can press the "Enter" key when prompted to enter the values set in the ''vars.bat'' file earlier. Doing this will set the values to the default specified in ''vars.bat''. However, you should type in a meaningful '''Common Name'''.
 
   </li>
 
   </li>
----
+
 
 
   <li>Next, build the '''server''' certificate and key:
 
   <li>Next, build the '''server''' certificate and key:
 
     <ul>
 
     <ul>
Line 96: Line 96:  
     </ul>
 
     </ul>
 
   </li>
 
   </li>
----
+
 
 
   <li>Next, build certificates and keys for the '''clients''':
 
   <li>Next, build certificates and keys for the '''clients''':
 
     <ul>
 
     <ul>
Line 103: Line 103:  
'''TIP''': use the same Common Name as the certificate name (Client1 in this example). This will help you differentiate different clients easier. Pick meaningful names like "toms_PC", "company_maintenance", etc. Repeat this step as many times as you need, depending on the client quantity.
 
'''TIP''': use the same Common Name as the certificate name (Client1 in this example). This will help you differentiate different clients easier. Pick meaningful names like "toms_PC", "company_maintenance", etc. Repeat this step as many times as you need, depending on the client quantity.
 
   </li>
 
   </li>
----
+
 
 
   <li>Lastly, generate '''Diffie Hellman parameters''':
 
   <li>Lastly, generate '''Diffie Hellman parameters''':
 
     <ul>
 
     <ul>

Navigation menu