Changes

m
Reverted edits by Macwizard (talk) to last revision by Dziugas
Line 2: Line 2:     
<ul>
 
<ul>
     <li>Now we can start preparing to generate certificates and keys. For this we'll be using the <b>EasyRSA 3</b> application that was installed along with OpenVPN.<br>EasyRSA commands have to be executed via the Windows Command Prompt. It can be opened by typing <i>cmd</i> in the Windows search bar (<i>Windows button + S</i>). When you launch it, make sure you <b>run it as administrator</b>:<br>[[File:How to generate tls certificates windows part 1 v3.png]]
+
     <li>Now we can start preparing to generate certificates and keys. For this we'll be using the <b>EasyRSA 3</b> application that was installed along with OpenVPN.<br>EasyRSA commands have to be executed via the Windows Command Prompt. It can be opened by typing <i>cmd</i> in the Windows search bar (<i>Windows button + S</i>). When you launch it, make sure you <b>run it as administrator</b>:<br>[[File:Networking_device_configuration_examples_how_to_generate_tls_certificates_windows_3.png]]
 
     </li>
 
     </li>
 
     <li>Change the current directory to the EasyRSA folder. To do so, execute this command:<pre>cd "C:\Program Files\OpenVPN\easy-rsa"</pre></li>
 
     <li>Change the current directory to the EasyRSA folder. To do so, execute this command:<pre>cd "C:\Program Files\OpenVPN\easy-rsa"</pre></li>
 
     <li>Launch EasyRSA:<pre>EasyRSA-Start.bat</pre></li>
 
     <li>Launch EasyRSA:<pre>EasyRSA-Start.bat</pre></li>
     <li>Before you can generate files with EasyRSA, you must first initialize a directory for the Public Key Infrastructure (PKI). This can be done with the following command:<pre>.\easyrsa init-pki</pre></li>
+
     <li>Before you can generate files with EasyRSA, you must first initialize a directory for the Public Key Infrastructure (PKI). This can be done with the following command:<pre>./easyrsa init-pki</pre></li>
 
     <li>Open the <i>vars.bat</i> file with the Notepad text editor:<pre>notepad vars.bat</pre></li>
 
     <li>Open the <i>vars.bat</i> file with the Notepad text editor:<pre>notepad vars.bat</pre></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:
Line 16: Line 16:  
     </li>
 
     </li>
 
     <li>You can also set the key size for the Diffie Hellman parameters:<pre>set DH_KEY_SIZE=2048</pre></li>
 
     <li>You can also set the key size for the Diffie Hellman parameters:<pre>set DH_KEY_SIZE=2048</pre></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; then run the following commands:<pre>vars.bat
    <li>Run the following commands:
+
./easyrsa clean-all</pre></li>
        <pre>vars
  −
clean-all</pre>
  −
    </li>
   
</ul>
 
</ul>