hi friends,
i have to connect my two offices n i am using redhat 5 n i am going through
www.openvpn.org so i downloaded the openvpn-2.0.9.tar.gz and lzo-2.03.tar.gz from
www.open.org, i downloaded both tar files in my /root/Desktop now i decompressed them by tar method by which i got them like this
[root@rhca Desktop]# ll
total 1284
drwxrwxrwx 13 1000 users 4096 Jan 21 17:48 lzo-2.03
-rw-r--r-- 1 root root 626042 Jan 18 21:22 lzo-2.03.tar.gz
drwxrwxrwx 16 root root 4096 Jan 21 17:52 openvpn-2.0.9
-rw-r--r-- 1 root root 669076 Jan 18 17:45 openvpn-2.0.9.tar.gz
now i did cd /root/desktop/openvpn-2.0.9 and did this command
./configure && make && make install
there was no problem so now my easy-rsa is in /root/desktop/openvpn/easy-rsa
now when i am in easy-rsa n giving this command then there is error message which is below
[root@rhca easy-rsa]# ./build-ca
you must define KEY_DIR
i also did from openssl n error message is like this
[root@rhca easy-rsa]# openssl
OpenSSL> ./build-ca
openssl:Error: './build-ca' is an invalid command.
the other error message is as below, i know there is some mistake in creating ca.
OpenSSL> ca
Using configuration from /etc/pki/tls/openssl.cnf
Error opening CA private key ../../CA/private/cakey.pem
16843:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('../../CA/private/cakey.pem','r')
16843:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
unable to load CA private key
error in ca
so guys help out n thx in advance in helping me.