Error creating client certificate
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Error creating client certificate
Hello everyone,i'm new here and trying to build my VPN for myself only
And when I trying to build client certificate I'm getting this error: https://prnt.sc/jbbr7f
Any tips? Please
*Sorry is this is off-top here
And when I trying to build client certificate I'm getting this error: https://prnt.sc/jbbr7f
Any tips? Please
*Sorry is this is off-top here
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Setting up the client error
Please see:
HOWTO: Request Help !
HOWTO: Request Help !
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Setting up the client error
To be honest I can't understand what I need to post and where..
Why do I need send 95 configs and 75 logs when I just can't create certificate for client?
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Setting up the client error
You asked in the wrong place, this should be moved to easyrsa.
Looking at your screen shot, I expect you are either not running as administrator or you have just done something wrong with easyrsa.
Looking at your screen shot, I expect you are either not running as administrator or you have just done something wrong with easyrsa.
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Setting up the client error
May be you can guess what I did wrong? Or may be I need send something to you?TinCanTech wrote: ↑Sun Apr 29, 2018 4:22 pmYou asked in the wrong place, this should be moved to easyrsa.
Looking at your screen shot, I expect you are either not running as administrator or you have just done something wrong with easyrsa.
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Error creating client certificate
Did you know you can copy/paste from a command window .....
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
https://pastebin.com/3EjfamK8TinCanTech wrote: ↑Sun Apr 29, 2018 6:16 pmDid you know you can copy/paste from a command window .....
Okay,here we are,I'm trying to make a certificate for server and I getting this error
https://pastebin.com/FucWZWmy
Also this is my "vars.bat" settings
https://pastebin.com/WBqkDQir
And this is my server config if needed
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Error creating client certificate
Try using EasyRSA3:
https://github.com/OpenVPN/easy-rsa/releases
https://github.com/OpenVPN/easy-rsa/releases
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
Well,doneTinCanTech wrote: ↑Sun Apr 29, 2018 6:30 pmTry using EasyRSA3:
https://github.com/OpenVPN/easy-rsa/releases
Wrote "help" and there are too much commands.. What do I need to..?
(I'm doing this first time,don't blame me)
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
Well,I did it,but when I trying to connect I have this error..
https://pastebin.com/TjKdbDG5
I run GUI as administrator.
https://pastebin.com/TjKdbDG5
I run GUI as administrator.
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Error creating client certificate
Code: Select all
Options error: --server directive network/netmask combination is invalid
Use --help for more information.
Code: Select all
server 192.168.0.1 255.255.255.0
Try using the example settings, which are correct.
Code: Select all
server 10.8.0.0 255.255.255.0
You should Start here:
HOWTO: For OpenVPN Community Edition
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
Done,doesn't help :cTinCanTech wrote: ↑Sun Apr 29, 2018 7:49 pmBecauseCode: Select all
Options error: --server directive network/netmask combination is invalid Use --help for more information.
is invalid.Code: Select all
server 192.168.0.1 255.255.255.0
Try using the example settings, which are correct.For further help:Code: Select all
server 10.8.0.0 255.255.255.0
You should Start here:
HOWTO: For OpenVPN Community Edition
And there are too much information,really too much
I did all right as in here: https://community.openvpn.net/openvpn/w ... dows_Guide
But I stil getting this stupid error..
May be please you can help without this FAQ?
I can't understand what is my problem and what I need to find :\
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Error creating client certificate
If you do not read the HOWTO then I cannot help ..
Please see:
HOWTO: Request Help ! {2}
Server & client log files at --verb 4 please.
See --log & --verb in The Manual v24x
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
Log from the client: https://pastebin.com/5EE7Lx37
Log from the server: https://pastebin.com/xuNS0yfX
Client PC OS: Win. 10 pro x64
Server OS: Win server 2012 R2 Standart
Server config: https://pastebin.com/X75wqm6Y
User config: https://pastebin.com/BT584S5R
-----------
I think you have a full information now.
Log from the server: https://pastebin.com/xuNS0yfX
Client PC OS: Win. 10 pro x64
Server OS: Win server 2012 R2 Standart
Server config: https://pastebin.com/X75wqm6Y
User config: https://pastebin.com/BT584S5R
-----------
I think you have a full information now.
-
- OpenVPN Protagonist
- Posts: 11136
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Error creating client certificate
Code: Select all
Options error: --dh fails with 'C:\Program Files\OpenVPN\config\dh1024.pem': No such file or directory (errno=2)
Options error: Please correct these errors.
Use --help for more information.
Code: Select all
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
-
- OpenVpn Newbie
- Posts: 9
- Joined: Sat Apr 28, 2018 5:43 pm
Re: Error creating client certificate
Well,new strange error,I need remove double slashes everywhere? I did it but still..TinCanTech wrote: ↑Mon Apr 30, 2018 12:01 pmCode: Select all
Options error: --dh fails with 'C:\Program Files\OpenVPN\config\dh1024.pem': No such file or directory (errno=2) Options error: Please correct these errors. Use --help for more information.
Code: Select all
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
https://pastebin.com/snDzgwx7
And when I'm trying to "Edit config" from the OVPN GUI I'm getting this .-.
https://prntscr.com/jbyx28