Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th June 2008, 11:24 AM
ruudsplint's Avatar
ruudsplint Offline
Registered User
 
Join Date: Dec 2005
Location: Brunssum, The Netherlands
Age: 47
Posts: 26
Openvpn Cannot load CA certificate

I am try to setup a Openvpn connection from within NetworkManager and get the following error:
Quote:
[root@W070022 ruud]# cat /var/log/messages | grep openvpn
Jun 20 12:02:02 W070022 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jun 20 12:02:02 W070022 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 23765
Jun 20 12:02:02 W070022 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jun 20 12:02:02 W070022 nm-openvpn[23768]: OpenVPN 2.1_rc7 x86_64-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Feb 21 2008
Jun 20 12:02:02 W070022 nm-openvpn[23768]: WARNING: file '/home/ruud/.openvpn/client1.key' is group or others accessible
Jun 20 12:02:02 W070022 nm-openvpn[23768]: Cannot load CA certificate file /home/ruud/.openvpn/ca.key path (null) (SSL_CTX_load_verify_locations) (OpenSSL)

Jun 20 12:02:02 W070022 nm-openvpn[23768]: Exiting

Quote:
[root@W070022 ruud]# rpm -qa | grep openvpn
openvpn-2.1-0.25.rc7.fc9.x86_64
NetworkManager-openvpn-0.7.0-10.svn3632.fc9.x86_64
Reply With Quote
  #2  
Old 6th July 2008, 05:43 PM
jamesapnic Offline
Registered User
 
Join Date: Jul 2008
Posts: 3
Hey there,

It looks like you have not copied the ca.key for your certificate authority into the directory
Quote:
/home/ruud/.openvpn/
You can get this from your administrator, or if you generated your own keys it will be in
Quote:
/etc/openvpn
on the server.
Reply With Quote
  #3  
Old 7th July 2008, 09:25 AM
ruudsplint's Avatar
ruudsplint Offline
Registered User
 
Join Date: Dec 2005
Location: Brunssum, The Netherlands
Age: 47
Posts: 26
Thank for your reaction, but that is not the problem....
Quote:
[ruud@W070022 ~]$ ll .openvpn/
total 24
-rw-r--r-- 1 ruud ruud 887 2008-06-09 15:57 ca.key
-rw-r--r-- 1 ruud ruud 3728 2008-06-09 16:01 client1.crt
-rw-rw-rw- 1 ruud ruud 887 2008-06-09 16:01 client1.key
Reply With Quote
  #4  
Old 31st December 2008, 09:04 AM
froggy06071968 Offline
Registered User
 
Join Date: Dec 2008
Posts: 1
Hi,

I had the same problem the solution is very simple:

In your config you find something like this:
Code:
# SSL/TLS parms.
# See the server config file for more
# description.  It's best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
ca   '/etc/openvpn/cacert.pem'
cert '/etc/openvpn/cert.pem'
key  '/etc/openvpn/key.pem'
remove the quotes around the ca, cert and key and everything should work fine although it did it for me

Now it should look like this

Code:
# SSL/TLS parms.
# See the server config file for more
# description.  It's best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
ca   /etc/openvpn/cacert.pem
cert /etc/openvpn/cert.pem
key  /etc/openvpn/key.pem
I had the same error on my windows client and also linux client

Last edited by froggy06071968; 31st December 2008 at 09:25 AM.
Reply With Quote
  #5  
Old 31st December 2008, 11:51 AM
David Becker Offline
Registered User
 
Join Date: Feb 2006
Posts: 780
Quote:
Originally Posted by ruudsplint View Post
I am try to setup a Openvpn connection from within NetworkManager and get the following error:
It's telling you to change the permissions. That should be your first approach.

Why are you using the ca key? You normally never use this other than for generating/verifying certificates (it's private).

You want the ca.crt

David
Reply With Quote
Reply

Tags
certificate, load, openvpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
red hat certificate server iinfi Linux Chat 0 17th March 2009 08:05 PM
Server certificate verification error: unable to get local issuer certificate James Board Using Fedora 0 4th September 2008 12:42 AM
openvpn cannot load server.key fire-fly Servers & Networking 2 6th April 2008 08:11 AM
SSL Certificate lpendle1 Using Fedora 7 26th July 2006 12:41 PM


Current GMT-time: 08:49 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat