April 2018
Intermediate to advanced
280 pages
8h 37m
English
Another common issue that users face is with user authentication. To troubleshoot authentication issues, OpenVPN provides a very helpful command-line interface utility called authcli. This utility can be used to perform user authentication manually and fetch the output of the result.
For example, the following command can be invoked to perform user authentication:
./authcli --user <USER_NAME> --pass <PASSWORD>
The previous command displays the output of the authentication result (as shown in the following) and the properties that are applied to the user. This output can thus help in determining if any invalid properties are applied to the user:
API METHOD: authenticate AUTH_RETURN status : SUCCEED session_id : AaJkamAuZgjXwsjk+N96eA== ...