[resolved] Windows 7 machine will not connect

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Locked
atrevido43
OpenVpn Newbie
Posts: 2
Joined: Thu Dec 29, 2011 6:34 pm

[resolved] Windows 7 machine will not connect

Post by atrevido43 » Thu Dec 29, 2011 6:38 pm

I've been able to log in with another win7 machine with no problem, but cannot get the 2nd to work.
I've put our openvpn certificate in the c:\program files x86\openvpn\config folder along with out .ovpn file

I'm getting this error

Thu Dec 29 10:20:54 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Thu Dec 29 10:20:58 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Dec 29 10:20:58 2011 Cannot load CA certificate file ca.cert path (null) (SSL_CTX_load_verify_locations): error:0906D064:PEM routines:PEM_read_bio:bad base64 decode: error:0B084009:x509 certificate routines:X509_load_cert_crl_file:PEM lib
Thu Dec 29 10:20:58 2011 Exiting

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: Windows 7 machine will not connect

Post by Mimiko » Fri Dec 30, 2011 7:03 am

Where did you put ca.cert file? Where it points in config file? Do the ca.cert file have enough access privileges?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows 7 machine will not connect

Post by maikcat » Fri Dec 30, 2011 8:25 am

also post client config and the location where the certs are.

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

atrevido43
OpenVpn Newbie
Posts: 2
Joined: Thu Dec 29, 2011 6:34 pm

Re: Windows 7 machine will not connect

Post by atrevido43 » Fri Dec 30, 2011 3:17 pm

I figured it out. The ca.cert file had 2 extra characters at the end. It was emailed to me, the first email download I did was fine on windows 7 machine 1, the 2nd for some reason insserted 2 characters at the end. I removed them and it works well.

Just a note - you must launch openvpn as an administrator on win7 or it will not work
or perhaps if the user was assigned permissions on the openvpn folder and sub-folders that would work but I've not tried that.
I just launch it as administrator

Thanks for your help

Locked