返回列表 發帖

OpenVPN怎样generate keys and certificates

本帖最後由 角色 於 2013-11-14 00:07 編輯

大家可以参考

http://openvpn.net/index.php/ope ... tion/howto.html#pki



Other information:
http://openvpn.net/index.php/ope ... key-management.html

http://wl500g.info/showthread.ph ... th-multiple-clients
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

本帖最後由 角色 於 2013-11-15 21:17 編輯

Member contribution on setting up certificates and keys for OpenVPN connections.

http://www.hkepc.com/forum/viewthread.php?tid=1774976

TOP

C:\Program Files\OpenVPN\easy-rsa>build-ca.bat
error on line 150 of openssl.cnf
912:error:0E065068:configuration file routines:STR_COPY:variable has no value:.\
crypto\conf\conf_def.c:618:line 150

C:\Program Files\OpenVPN\easy-rsa>build-ca.bat
error on line 150 of openssl.cnf
784:error:0E065068:configuration file routines:STR_COPY:variable has no value:.\
crypto\conf\conf_def.c:618:line 150

刚开始就出错了,正在找原因....

TOP

我没有用Windows去gen,我用Linux去generate,所以没有发现问题。

TOP

C:\Program Files\OpenVPN\easy-rsa>build-ca.bat
error on line 150 of openssl.cnf
912:error:0E065068:c ...
Skypeus 發表於 2013-12-14 10:59


Double check the followings :

..
2. Run the following batch file to copy configuration files into place (this will overwrite any preexisting vars.bat and openssl.cnf files):
      init-config

3. Now edit the vars file (called vars.bat on Windows) and set the KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG, and
KEY_EMAIL parameters. Don't leave any of these parameters blank.

..

TOP

返回列表