Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Troubleshooting OpenVPN

You're reading from   Troubleshooting OpenVPN Get the solutions you need to troubleshoot any issue you may face to keep your OpenVPN up and running

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786461964
Length 178 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Eric F Crist Eric F Crist
Author Profile Icon Eric F Crist
Eric F Crist
Arrow right icon
View More author details
Toc

Authentication and plugins


Apart from X.509 tools, OpenVPN provides a mechanism to use authentication plugins along with client connection scripts. It is possible to remove the requirement for client certificates using --client-cert-not-required (deprecated in 2.4, removed in 2.5 in favor of --verify-client-cert). In this case, authentication rests solely upon the --auth-user-pass-verify option.

If --client-config-dir is still desired without client certificates, you will need to leverage --username-as-common-name. Of course, if you're going to require usernames and passwords, it is necessary to add the --auth-user-pass option to all the client configuration files.

The --auth-user-pass-verify script is the last in a long chain of scripts that are run. The majority of environment details are available to all of these scripts, including the CN. If you are troubleshooting problems with this script, ensure that the connection is not being killed due to logic in other script routines prior to reaching...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image