1、制作ssl证书
# cd /etc/pki/tls/certs
[root@www certs]# make vnc.key
Enter pass phrase:# 输入密码
Verifying - Enter pass phrase:#确认
# 从private key 中删除密码
# openssl rsa -in vnc.key -out vnc.key
# make vnc.csr
Country Name (2 letter code) [XX]:CN# 国家
State or Province Name (full name) []:shanghai # 省
Locality Name (eg, city) [Default City]: shanghai # 市
Organization Name (eg, company) [Default Company Ltd]:openstack # 公司
Organizational Unit Name (eg, section) []:Server World # 部门
Common Name (eg, your name or your server's hostname) []:www.srv.world # 主机名
Email Address []:xxx@srv.world # 邮箱
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:#回车
An optional company name []:# Enter