您的位置:首页 > 理论基础 > 计算机网络

Swift All In One 配置https访问

2013-07-31 13:59 162 查看
上一篇Swift All In One单结点开发环境部署手册为http,本文修改为https访问,步骤简单。

生成证书

cd /etc/swift
sudo openssl req -new -x509 -nodes -out cert.crt -keyout cert.key


修改配置文件/etc/swift/proxy-server.conf

[DEFAULT]段修改bind_port, 添加cert_file, key_file

bind_port = 443
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key


重启Swift

sudo swift-init proxy restart


多结点Swift部署

需修改其余相关*.conf文件

Cyberduck客户端访问配置参考

http://www.cnblogs.com/helloLinux/archive/2012/05/14/2499349.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: