|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
variable has no value:/usr/src/lib/libcrypto/conf/conf_def.c:563:line 3
Hi,
I have installed the latest version of OpenBSD 6.1 and tried to install OpenVPN on it. When I run the command ./easyrsa init-pki it triggers the following error Code:
variable has no value:/usr/src/lib/libcrypto/conf/conf_def.c:563:line 3 What should I do to get rid of this error and install OpenVPN successfully on my latest OpenBSD firewall? Thanks |
|
||||
For clarity, this was with the easy-rsa package for OpenBSD. Here is a list of the installed packages on the test system:
Code:
$ pkg_info easy-rsa-3.0.1 small RSA key management package lz4-1.7.4.2 fast BSD-licensed data compression lzo2-2.10 portable speedy lossless data compression library openssl-1.0.2k TLS/SSL library and tools openvpn-2.4.1 easy-to-use, robust, and highly configurable VPN quirks-2.304 exceptions to pkg_add rules |
|
|||
Hi Jggimi,
Thanks for the information. I have installed NtopNG on my OpenBSD 6.1 firewall. Then I tried to install OpenVPN on it. Below is the output of the pkg_info command # pkg_info GeoIP-1.6.5p5 find the country where IP address/hostname originates from bzip2-1.0.6p8 block-sorting file compressor, unencumbered cairo-1.14.8 vector graphics library curl-7.53.1 get files from FTP, Gopher, HTTP or HTTPS servers cvsps-2.1p0 generate patchsets from CVS repositories geolite-asn-20170208 GeoIP GeoLite database: IPv4/v6 address to AS number geolite-city-20170208 GeoIP GeoLite database: IPv4/v6 address to city geolite-country-20170208 GeoIP GeoLite database: IPv4/v6 address to country gettext-0.19.8.1 GNU gettext runtime libraries and programs git-2.12.2 GIT - Tree History Storage Tool glib2-2.50.3 general-purpose utility library graphite2-1.3.9 rendering for complex writing systems harfbuzz-1.4.5 text shaping library json-c-0.12p1 JSON implementation in C libelf-0.8.13p3 read, modify, create ELF files on any arch libffi-3.2.1p2 Foreign Function Interface libhiredis-0.13.3 minimalistic C client for Redis libiconv-1.14p3 character set conversion library libsodium-1.0.12p0 library for network communications and cryptography libxml-2.9.4p0 XML parsing library lua-5.1.5p6 powerful, light-weight programming language (version 5.1.5) luajit-2.0.4p0 just-in-time compiler for Lua lz4-1.7.4.2 fast BSD-licensed data compression lzo2-2.10 portable speedy lossless data compression library mariadb-client-10.0.30v1 multithreaded SQL database (client) nghttp2-1.21.0 library for HTTP/2 ntopng-2.4p0 network traffic probe with web ui and dpi openvpn-2.4.1 easy-to-use, robust, and highly configurable VPN p5-Error-0.17024 error/exception handling in an OO-ish way pango-1.40.4 library for layout and rendering of text pcre-8.38p0 perl-compatible regular expression library png-1.6.28 library for manipulating PNG images python-2.7.13p0 interpreted object-oriented programming language quirks-2.304 exceptions to pkg_add rules redis-3.2.8 persistent key-value database rrdtool-1.6.0p2 system to store and display time-series data rrdupdate-1.6.0 lightweight update-only tool for rrdtool rsync-3.1.2p0 mirroring/synchronization over low bandwidth links sqlite3-3.17.0 embedded SQL implementation |
|
|||
Quote:
Code:
git clone https://github.com/OpenVPN/easy-rsa.git Code:
cp -R /home/user/easyrsa/easyrsa3 /etc/openvpn/ |
|
||||
I'm sorry I have not been sufficiently clear. To correct your error:
|
|
|||
Hi Jggimi,
Thanks for the information. Will pkg_add command install easy-rsa3 ? easy-rsa 3 is much more easier than easy-rsa 2. |
|
|||
Hi Jggimi,
Sorry. I check the package repository. It shows easy-rsa-3.0.1.tgz so it should be easy-rsa3. Will get back to you after installing this. Thanks for the help. |
|
|||
Hi Jggimi,
Thanks Jggimi! Perfect easy-rsa key generatoion, worked. Still the client cannot connect to the open VPN server. I think that might due to miss configuration. I have created a folder on etc by the name openvpn and put the server.conf file in it, and started the open vpn server by entering the command " /usr/local/sbin/openvpn --daemon --config /etc/openvpn/server.conf " |
|
||||
I can only see what you post. Since you have not shared any configuration information, or any connection logs, my only recommendation is to review the README file included with the OpenVPN package that was prepared specifically for OpenBSD users. You'll find it in /usr/local/share/doc/pkg-readmes/.
|
|
|||
Hi Jggimi,
I refer that manual as well. I checked everything from the scratch and make some small changes. NOW OPEN VPN IS WORKING PERFECTLY. THANKS FOR YOUR SUPPORT. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dhclient.conf: line 2: expecting a statement? | WeoNat | OpenBSD General | 5 | 29th March 2016 04:09 PM |
pf.conf place multiple tables in one variable | daemonbak | OpenBSD Security | 1 | 21st July 2015 10:12 AM |
Python: Use the value of a variable for calling another variable | Carpetsmoker | Programming | 13 | 5th April 2009 05:53 PM |
CSH 'mch' variable? | JMJ_coder | General software and network | 1 | 12th February 2009 11:24 PM |
Using Date variable? | cwhitmore | FreeBSD General | 9 | 13th August 2008 07:16 AM |