openstack的vnc啟動ssl
1、制作ssl證書
# cd /etc/pki/tls/certs [[email protected] 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 []:[email protected]
# openssl x509 -in vnc.csr -out vnc.crt -req -signkey vnc.key -days 3650 Signature ok subject=/C=CN/ST=shanghai/L=shanghai/O=openstack/OU=computer/CN=w[email protected]