openvpn 生成key報錯,大俠們救命啊
#./build-key cz
Generating a 1024 bit RSA private key
.........++++++
...............++++++
writing new private key to 'cz.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) :
State or Province Name (full name) :
Locality Name (eg, city) :
Organization Name (eg, company) :
Organizational Unit Name (eg, section) []:YF
Common Name (eg, your name or your server's hostname) []:cz
Email Address [hotmail@hotmail.com]:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:xxxxxxxxx
An optional company name []:
Using configuration from /etc/openvpn/easy-rsa/openssl.cnf
unable to load CA private key
6641:error:0906D06C:PEM routines:PEM_read_bio:no start lineem_lib.c:632:Expecting: ANY PRIVATE KEY
《解決方案》
#./build-key cz
Generating a 1024 bit RSA private key
.........++++++
...............++++++
writing new private key to 'cz.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) :
State or Province Name (full name) :
Locality Name (eg, city) :
Organization Name (eg, company) :
Organizational Unit Name (eg, section) []:YF
Common Name (eg, your name or your server's hostname) []:cz
Email Address :
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:xxxxxxxxx
An optional company name []:
Using configuration from /etc/openvpn/easy-rsa/openssl.cnf
unable to load CA private key
6641:error:0906D06C:PEM routines:PEM_read_bio:no start lineem_lib.c:632:Expecting: ANY PRIVATE KEY
《解決方案》
unable to load CA private key
《解決方案》
先生成伺服器的ca:
# ./build-ca
http://hi.baidu.com/farmerluo/blog/item/07aa5343908959069213c641.html