Hello,
I wrote script for creating VPN-key for client into Perl and when the ./build-key "Client Name" step executing, it ask me couple question like county: , State: ...... what should I have to change in config of VPN so it take whatever assign by default instead of asking me to enter. I already modified vars file and assign default values. Any help would be appreciated. Thanks.
J
Client Key
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Client Key
the 'build-key --batch' command uses the env vars found in 'vars' , in combination with the openssl.cnf file to create a new client signing request (CSR). Read the sources for the 'easy-rsa' 'pki-tool' command to see how it is called directly.
Alternatively it is also possible to generate a CSR directly without having to rely on the env vars found in the 'vars' file.
Alternatively it is also possible to generate a CSR directly without having to rely on the env vars found in the 'vars' file.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Jun 06, 2011 9:18 pm
Re: Client Key
Thanks for your reply but I am very new to these stuff so if you can help in detail that will be great because I don't want to mess up with server. Thanks.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Client Key
you don't have to change anything to the server config; simply start with the HOWTO
http://openvpn.net/index.php/open-sourc ... o.html#pki
and follow that. Some work on your part IS required
http://openvpn.net/index.php/open-sourc ... o.html#pki
and follow that. Some work on your part IS required