Jump to content


Photo

Eddie can't find client key file


  • Please log in to reply
6 replies to this topic

#1 vpnadmin

vpnadmin

    Member

  • Members
  • PipPip
  • 17 posts

Posted 17 March 2017 - 02:31 PM

Hey there, it's me again.

 

Afer the problems with Eddie and my OpenVPN Access Server I'm trying to switch to the community server now. Configuration works already pretty well with the official OpenVPN client (2.4, Windows 10 x64). I set the path in AirVPN.xml and the server is imported into Eddie. But as soon as I'm trying to connect, Eddie complains about a missing key file:

 

I 2017.03.17 15:25:06 - Session starting.
. 2017.03.17 15:25:06 - IPv6 disabled with packet filtering.
! 2017.03.17 15:25:06 - Connecting to OtherServers - openvpnserver
W 2017.03.17 15:25:06 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:06 - Above log line repeated 1 times more
. 2017.03.17 15:25:06 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden.   (errno=2)
W 2017.03.17 15:25:06 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:06 - Above log line repeated 1 times more
. 2017.03.17 15:25:06 - OpenVPN > Use --help for more information.
! 2017.03.17 15:25:06 - Disconnecting
. 2017.03.17 15:25:06 - Connection terminated.
! 2017.03.17 15:25:10 - Connecting to OtherServers - openvpnserver
W 2017.03.17 15:25:10 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:10 - Above log line repeated 1 times more
. 2017.03.17 15:25:10 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden.   (errno=2)
W 2017.03.17 15:25:10 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:10 - Above log line repeated 1 times more
. 2017.03.17 15:25:10 - OpenVPN > Use --help for more information.
! 2017.03.17 15:25:10 - Disconnecting
. 2017.03.17 15:25:10 - Connection terminated.
! 2017.03.17 15:25:13 - Connecting to OtherServers - openvpnserver
W 2017.03.17 15:25:13 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:13 - Above log line repeated 1 times more
. 2017.03.17 15:25:13 - OpenVPN > WARNING: cannot stat file 'client.key': Das System kann die angegebene Datei nicht finden.   (errno=2)
W 2017.03.17 15:25:13 - Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
. 2017.03.17 15:25:13 - Above log line repeated 1 times more
. 2017.03.17 15:25:13 - OpenVPN > Use --help for more information.
! 2017.03.17 15:25:13 - Disconnecting
. 2017.03.17 15:25:13 - Connection terminated.
I 2017.03.17 15:25:14 - Cancel requested.
. 2017.03.17 15:25:14 - IPv6 restored with packet filtering.
. 2017.03.17 15:25:14 - Flushing DNS

But no - it's there, and the same configuration is working with OpenVPN. It's uunder "C:\Program Files\OpenVPN\config" (sme as the .ovpn), but I tried to put it directly in the AirVPN dir as well as "C:\\client.key" which I referenced in the config file then but lead me to the same problem.

 

What am I missing? I tried eddie 2.11.15 and 2.12.4. No difference.

 

Thanks!



#2 Treiberschreiber

Treiberschreiber

    :() { :|: & }; :

  • Members
  • PipPipPip
  • 2333 posts
  • LocationGermany

Posted 17 March 2017 - 07:58 PM

Basically: Reboot tut gut. Windows 8 and above doesn't shutdown the computer properly, reboot it instead or turn off Fast Boot. There were several interesting errors when coming out of hibernation on those OSes in the past.

 

Try putting Eddie to your personal directory where you have unrestricted write access without User Account Control issues. Though I doubt it will help but you never know.


Always remember:
There's a guide to AirVPN,

Amazon IPs are not dangerous here,
running TOR exits is discouraged,

using spoilers for your logs is the proper way to heaven.
Same issues are rare! Search for solutions and if not successful open your own threads.

~ Furthermore, I propose that your paranoia is to be destroyed. ~

 


#3 vpnadmin

vpnadmin

    Member

  • Members
  • PipPip
  • 17 posts

Posted 18 March 2017 - 03:12 AM

No, a reboot doesn't help here. I also made sure that the config dir is world-read- and -writable just in case but it doesn't work. That error really makes no sense bec the .ovpn config file is found. Ilike this feature of Eddie but it seems to be terribly buggy and not really supported.



#4 Treiberschreiber

Treiberschreiber

    :() { :|: & }; :

  • Members
  • PipPipPip
  • 2333 posts
  • LocationGermany

Posted 18 March 2017 - 03:24 PM

It's not enough to just give it write access because your admin user account is not the one with the highest privileges on Windows. It's TrustedInstaller (which owns Program Files, too). Your own personal corner on Windows is your userdir (C:/users/user/*), that's where you have unrestricted write access; put a portable Eddie there and try again.

 

Quick search for the first part of the error reveals that it has to do with write access. For example, Ubuntu.


Always remember:
There's a guide to AirVPN,

Amazon IPs are not dangerous here,
running TOR exits is discouraged,

using spoilers for your logs is the proper way to heaven.
Same issues are rare! Search for solutions and if not successful open your own threads.

~ Furthermore, I propose that your paranoia is to be destroyed. ~

 


#5 vpnadmin

vpnadmin

    Member

  • Members
  • PipPip
  • 17 posts

Posted 18 March 2017 - 05:36 PM

Hey,

 

I really appreciate your effort to help here. But the example you mentioned is about a linux user who wants to write in /etc/ without sudo which will never work. And he is trying to configure a server there. Anyways, when I set the files/directories to world-read- and writeable it means that every user and app is allowed to read or write here, regardless of any "trustedinstaller" or whatsoever.

 

So, I wouldn' expect it is a question of filesystem rights after that. But I tried the portable thing you've mentioned - and no, it doesn't change anything but I'm running into another bug. Read below.



#6 vpnadmin

vpnadmin

    Member

  • Members
  • PipPip
  • 17 posts

Posted 18 March 2017 - 05:49 PM

By the way, when I do it that way I'm running into the same bug this guy did here. And yes, I tried the trailing slash, tried it without it and double checked the path and tried it with diff directories.

 

This feature was running nicely until 2.11.9, but it is completely useless right now. Fix it or remove it please!

Attached Thumbnails

  • AirVPN 2017-03-18 18.46.12.png


#7 vpnadmin

vpnadmin

    Member

  • Members
  • PipPip
  • 17 posts

Posted 19 March 2017 - 04:06 PM

So guys, finally found the problem: the new behaviour of Eddie to look for .ovpn conf files in /ovpn just below the data dir obviously makes it difficult for him to find the respective key- and certfiles. I did a little debugging with procmon in Windows and after I changed the relative directives in my .ovpn conf to something like that:

 

ca "c:\\myvpnserver2017.crt"
cert "c:\\myvpnserver.crt"
key "c:\\myvpnserver.key"

it finally works. Maybe this is a helpful note to fix this bug ...






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Users: 13873 - BW: 37166 Mbit/sYour IP: 54.156.90.21Guest Access.