LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-01-2009, 01:06 PM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Rep: Reputation: 33
OpenVPN 2.1 requires '--script-security 2'


Code:
[jonas@jonas ~]$ /usr/sbin/openvpn --config /home/jonas/.openVPN/jocan.ovpn
Tue Sep  1 20:02:33 2009 OpenVPN 2.1_rc15 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Nov 30 2008
Enter Auth Username:
Enter Auth Password:
Tue Sep  1 20:02:40 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Sep  1 20:02:40 2009 Cannot load certificate file client-jonaskl-cert.pem: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Tue Sep  1 20:02:40 2009 Exiting
Has someone yet seen this error and found what to do with it ?
 
Old 09-01-2009, 02:24 PM   #2
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Original Poster
Rep: Reputation: 33
So I resolved my own problem by doing this :
1. when executing the command, make sure you are in the directory where the config files are.
2. execute the command as root because a normal user cannot create the appropriate tun-device...
 
Old 12-11-2011, 08:21 AM   #3
gmkey
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Smile it's ok

solved!!! visit: http://www.nvery.com/2011/openvpn_script-security_2.htm
 
Old 11-18-2012, 11:57 AM   #4
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL 6.x, 5.x, Fedora 20, Kubuntu 12.04, Solaris 10,8
Posts: 321

Rep: Reputation: 17
The link above is no longer valid, do you have a mirror or could you point to a different website ?

I have the same issue,

"NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables"

And it's not clear to me, if this is a warning or error causing the VPN connection to fail.

I am running openvpn as root however the configuration file is in another directory, but I can't see this being a problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Requires Preboot Script for Solaris rajaniyer123 Solaris / OpenSolaris 5 02-22-2009 07:11 PM
Help requires for my first cron/shell script mwi.user Linux - Server 10 08-12-2008 11:14 AM
Script requires terminal freelancer42 Linux - Software 2 02-01-2007 08:09 AM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
security = domain option in smb.conf requires the user have an account on linux nlong1 Linux - Newbie 10 12-08-2004 01:02 PM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration