Hello all,
I've just solved the problem for me. As mentioned, I was using OpenVPN version 2.0.9 at the server side:
# rpm -qa|grep vpn
openvpn-2.0.9-1.el5.rf
Just updated to version 2.3.2, restarted (after solving another bug), and it worked ok:
# yum update openvpn
...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror.globo.com
* base: centos.xpg.com.br
* updates: centos.xpg.com.br
* addons: centos.xpg.com.br
* extras: centos.xpg.com.br
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package openvpn.x86_64 0:2.3.2-2.el5 set to be updated
--> Processing Dependency: libpkcs11-helper.so.1()(64bit) for package: openvpn
--> Running transaction check
---> Package pkcs11-helper.x86_64 0:1.07-2.el5.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Updating:
openvpn x86_64 2.3.2-2.el5 epel 419 k
Installing for dependencies:
pkcs11-helper x86_64 1.07-2.el5.1 epel 54 k
Transaction Summary
==============================================================================================================================================
Install 1 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 473 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): pkcs11-helper-1.07-2.el5.1.x86_64.rpm | 54 kB 00:00
(2/2): openvpn-2.3.2-2.el5.x86_64.rpm | 419 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------
Total 893 kB/s | 473 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pkcs11-helper [1/3]
Updating : openvpn [2/3]
Cleanup : openvpn [3/3]
Dependency Installed: pkcs11-helper.x86_64 0:1.07-2.el5.1
Updated: openvpn.x86_64 0:2.3.2-2.el5
Complete!
PLEASE NOTE: in my case, after updating, the OpenVPN server didn't start OK because I had the following line in my configuration:
plugin /usr/lib64/openvpn/plugin/lib/openvpn-auth-pam.so system-auth
The new OpenVPN RPM package (if you use RedHat, CentOS or derivatives) changed this file to another place (please check
https://bugzilla.redhat.com/show_bug.cgi?id=966373), so you'll need to change that line to:
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so system-auth
Hope this helps!
Best regards, Celso.