Client key won't copy
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 10, 2013 1:18 pm
Client key won't copy
I have set up the server on Ubuntu 12.10 and it runs ok. I have successfully set up the client on Windows 7 too.
I have created the client keys and the .crt .csr and .key files have been created. However when I try to copy the files over to the client i get a permission denied error in my ftp client.
I tried to change the permissions using sudo su but it wouldn't let me.
I have created the client keys and the .crt .csr and .key files have been created. However when I try to copy the files over to the client i get a permission denied error in my ftp client.
I tried to change the permissions using sudo su but it wouldn't let me.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Client key won't copy
hi there,
with so little info provided i cant help you.....
Michael.
which files? the keys?what OS is your client?are you using ftp for file trasnfer?when I try to copy the files over to the client i get a permission denied error in my ftp client.
with so little info provided i cant help you.....
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"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 10, 2013 1:18 pm
Re: Client key won't copy
Thanks
The file is the client.key file. The OS is Windows 7. I am using ftp using Filezilla.
The file is the client.key file. The OS is Windows 7. I am using ftp using Filezilla.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Client key won't copy
not enough info....The file is the client.key file. The OS is Windows 7. I am using ftp using Filezilla.
you are trying to copy using filezilla FROM linux to the windows?
where in windows you are trying to copy the file?
do you have permissions to write the file in the selected folder?
btw this has nothing to do with openvpn itself...
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"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 10, 2013 1:18 pm
Re: Client key won't copy
Thank you for bearing with me.
I have followed various tutorials on how to install and config and I have not seen anything about permissions.
I have an Openvpn server set up with certificates etc on Ubuntu 12.10. I have installed the client software on Windows 7. Both run.
However, when I create the client.key, client.crt and ca.crt they all copy to the client using Filezilla apart from the .key file.
Everything else has worked fine (I have still to test the ovpn file) and it is just this file that won't copy.
I have followed various tutorials on how to install and config and I have not seen anything about permissions.
I have an Openvpn server set up with certificates etc on Ubuntu 12.10. I have installed the client software on Windows 7. Both run.
However, when I create the client.key, client.crt and ca.crt they all copy to the client using Filezilla apart from the .key file.
Everything else has worked fine (I have still to test the ovpn file) and it is just this file that won't copy.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Client key won't copy
hi there,
keep in mind that .key files in linux are created with 600 permissions,
means that they get rw------- and they belong to root...
when connecting with ftp ,what account are you using?
also you can simply pack them using tar and copy the tarball....
Michael.
keep in mind that .key files in linux are created with 600 permissions,
means that they get rw------- and they belong to root...
when connecting with ftp ,what account are you using?
also you can simply pack them using tar and copy the tarball....
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"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 10, 2013 1:18 pm
Re: Client key won't copy
Thanks for your help. I changed the permissions and it's now working.
Sounds obvious but I didn't think I would need to do anything with permissions.
Sounds obvious but I didn't think I would need to do anything with permissions.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sun Jan 27, 2013 6:40 am
Re: Client key won't copy
How did you create the client.key and client.crt on a Linux machine? What was the command?
I am trying to get a hold of client.key/client.crt for each user and move it across to a new server.
I am trying to get a hold of client.key/client.crt for each user and move it across to a new server.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Jan 10, 2013 1:18 pm
Re: Client key won't copy
I followed the method shown here:
http://openvpn.net/index.php/open-sourc ... ml#install
./build-key client1
./build-key client2
./build-key client3
http://openvpn.net/index.php/open-sourc ... ml#install
./build-key client1
./build-key client2
./build-key client3