OpenVPN: Building and Integrating Virtual Private Networks
  FREE ONLINE EDITION: Read full chapters online, download free samples from the book and more...
  Index > Chapter 6
Book Contents

Preface
Chapter 1: VPN - Virtual Private Network
Chapter 2: VPN Security
Chapter 3: OpenVPN
Chapter 4: Installing OpenVPN
Chapter 5: Configuring an OpenVPN Server—The First Tunnel
Chapter 6: Setting Up OpenVPN with X509 Certificates
Chapter 7: The Command openvpn and its Configuration File
Chapter 8: Securing OpenVPN Tunnels and Servers
Chapter 9: Advanced Certificate Management
Chapter 10: Advanced OpenVPN Configuration
Chapter 11: Troubleshooting and Monitoring
Appendix A: Internet Resources

Index

Free Content
Download Sample Chapter 2: OpenVPN
[124 KB PDF]
 

Chapter 6: Setting Up OpenVPN with X509 Certificates

In this chapter we will create X509 server and client certificates for use with OpenVPN. We will create a certificate authority, and sign and distribute new certificates. We will use easy-rsa, which comes with OpenVPN and exists both for Windows and Linux. This tool allows creation and administration of certificates that have to be transferred to the machines that are supposed to take part in the VPN.

  • Chapter 6: Setting Up OpenVPN with X509 Certificates
    • Creating Certificates
    • Certificate Generation on Windows XP with easy-rsa
      • Setting Variables—Editing vars.bat
      • Creating the Diffie-Hellman Key
      • Building the Certificate Authority
      • Generating Server and Client Keys
    • Distributing the Files to the VPN Partners
    • Configuring OpenVPN to Use Certificates
    • Using easy-rsa on Linux
      • Preparing Variables in vars
      • Creating the Diffie-Hellman Key and the Certificate Authority
      • Creating the First Server Certificate/Key Pair
      • Creating Further Certificates and Keys
    • Troubleshooting
    • Summary

 

 

 

Paperback 258 pages
Released: May 2006
ISBN: 190481185X


eBook Version Also Available
Buy the book & eBook together and get 80% off the eBook

 

     

 




View the book details
on PacktPub.com

 


 

 

  This website is owned and maintained by Packt Publishing Ltd, 2006. All rights reserved. Terms and Conditions