将keystone安全策略从http优化至https

1.安装yum install mod_ssl -y
安装完之后发现多了一个ssl.conf 文件
2.添加

vi /etc/openstack-dashboard/local_settings
49 CSRF_COOKIE_SECURE = True  --取消注释
50 SESSION_COOKIE_SECURE = True --取消注释

3.重启httpd服务

systemctl restart httpd

4.web访问结果

https://192.168.20.30/dashboard/   --访问

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_51788903/article/details/121574323