RHEL5.4 上部署openvpn 服务(2)
来源:未知 责任编辑:责任编辑 发表时间:2014-01-06 18:19 点击:次
Name []:frank
Email Address [623195090@qq.com]:
4 为Openvpn 创建密钥及证书
[root@openvpn 2.0]# ./build-key-server server
Generating a 1024 bit RSA private key
................................................................++++++
..++++++
writing new private key to 'server.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) [CN]:
State or Province Name (full name) [SHANGHAI]:
Locality Name (eg, city) [SHANGHAI]:
Organization Name (eg, company) [Frank]:
Organizational Unit Name (eg, section) []:Frank
Common Name (eg, your name or your server's hostname) [server]:
Name []:frank
Email Address [623195090@qq.com]:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Using configuration from /root/openvpn/openvpn-2.1.4/easy-rsa/2.0/openssl.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'CN'
stateOrProvinceName :PRINTABLE:'SHANGHAI'
localityName :PRINTABLE:'SHANGHAI'
organizationName :PRINTABLE:'Frank'
organizationalUnitName:PRINTABLE:'Frank'
commonName :PRINTABLE:'server'
name :PRINTABLE:'frank'
emailAddress :IA5STRING:'623195090@qq.com'
Certificate is to be certified until Aug 9 17:43:47 2021 GMT (3650 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
5 创建客户端的的密钥及证书
[root@openvpn 2.0]# ./build-key frank
Generating a 1024 bit RSA private key
.......................++++++
....++++++
writing new private key to 'frank.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
相关新闻>>
- 发表评论
-
- 最新评论 更多>>