Error reading multiple files referenced by profile

Post Reply
Dwarfex
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 24, 2013 5:35 pm

Error reading multiple files referenced by profile

Post by Dwarfex » Wed Apr 24, 2013 5:45 pm

Hi guys,

i hope you can help me :)

I have an OpenVPN server up and runnign and i am now trying to import the profile, which works fine on Win7 computers, to my android phone.

so i moved the config file:

Code: Select all


remote xxxxxxxxxxxxxxxxxxxxx.com
port 8080
proto udp
dev tap
dev-node openvpn
tls-client
ca sdcard/vpn/keys/ca.crt
key /sdcard/vpn/keys/trust.key
cert /sdcard/vpn/keys/trust.crt
ns-cert-type server
comp-lzo
pull
tun-mtu 1500
tun-mtu-extra 32
verb 3
mute 50
persist-key
persist-tun
to /sdcard/vpn/conf/ on the phone and imported the profile.

But now i am getting following error :
"Error reading multiple files referenced by profile : ca.crt, trust.key, trust.crt"

The logfile entry is :
"EVENT:
PROFILE_MERGE_MULTIPLE_REF_FAIL
info="ca.crt,trust.key, trust.crt"

I've double checked if the paths are correct and tried using the path using "- signs.
Doesn't help i'm always getting the error.

Thank you for trying to help :)

Dwarfex

qan
OpenVpn Newbie
Posts: 1
Joined: Wed May 01, 2013 6:40 pm

Re: Error reading multiple files referenced by profile

Post by qan » Wed May 01, 2013 6:42 pm

I just har this exakt same issue. Worked around it by placing my key-files in the same directory as the config file. The full (and now incorrect) path is still in the config. Must be an issue with hos the filename is parsed..

jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: Error reading multiple files referenced by profile

Post by jamesyonan » Wed May 22, 2013 4:12 pm

Yes, all files referenced by profile must exist in the same directory as profile during import, regardless of how paths are specified in profile.

This is done for security, to prevent a third party profile from trying to accessing other files on the device.

antonnys
OpenVpn Newbie
Posts: 1
Joined: Fri Aug 30, 2013 8:28 am

error cannot delete file

Post by antonnys » Fri Aug 30, 2013 8:30 am

Please try longpathtool and get the solution of above relevant issue.It was really helped me to get the right solution which worked for me.


Thanks
Antonnys

Post Reply