使用OpenStack私有云平台,通过提供的相关软件包,安装必要组件,将私有云平台的访问策略从http提升至https。完成后提交控制节点的用户名、密码和IP地址到答题框。
# 安装 mod_ssl httpd [root@controller ~]# yum install -y mod_ssl httpd # 修改配置文件 etc/openstack-dashboard/local_setting CSRF_COOKIE_SECURE = True # 去掉注释 SESSION_COOKIE_SECURE = True # 去掉注释 USE_SSL = True # 添加该行 SESSION_COOKIE_HTTPONLY = True # 添加该行 # 重启服务 [root@controller ~]# systemctl restart httpd [root@controller ~]# systemctl restart memcached # 修改配置文件 /etc/httpd/conf.d/ssl.conf SSLProtocol all -SSLv2 -SSLv3 # 找到该行,并注释 SSLProtocol all -SSLv2 # 添加该行 # 下图即为成功