云平台上elb+haproxy证书导入配置
来源:互联网 发布:linux pyqt4 eric6 编辑:程序博客网 时间:2024/06/05 16:45
云平台上elb+haproxy证书导入配置
一、规划
原计划
这种方案缺点是在云上创建elb监听器的时候https(443只能创建一次,再创建的时候会报端口被占用)。然后只能再创建elb,这样导致有一个elb就需要创建一个443,浪费钱,费工时。
修改后的方案:
这个方案可以减轻工作量,只需要在haproxy上导入证书即可,不用多次配置。
二、haproxy配置如下
1、首先导入密钥
vi /etc/haproxy/keys/wolf.crt
把相关密钥打开,粘贴到wolf.crt
2、更改配置文件
global
log 127.0.0.1 local0 info #[err warning info debug]
maxconn 65535
daemon
nbproc 2
user nobody
group nobody
tune.ssl.default-dh-param 2048
frontend web_wumart
mode http
maxconn 65535
bind :80
bind :443 ssl crt /etc/haproxy/keyswolf.crt
acl is_cdyf hdr_reg(host) -i ^(cdyf.wumart.com)$
use_backend cdyf_server if is_cdyf or { ssl_fc_sni cdyf.wumart.com }
其他按正常配置即可。
0 0
- 云平台上elb+haproxy证书导入配置
- haproxy 证书
- haproxy配置基于ssl证书的https负载均衡
- HAProxy配置
- haproxy配置
- HAProxy配置
- haproxy 配置
- haproxy配置
- HAProxy配置
- haproxy配置
- HAProxy配置
- HAProxy配置
- Haproxy配置
- aws 上使用elb 的多域名问题
- weblogic下配置https及导入证书
- tomcat配置https及证书导入
- 云平台上配置scrapy的环境
- 平台haproxy构建20130510
- js正则表达式3
- win2008部署sql2012集群说明
- JAVA中重写equals()方法的同时要重写hashcode()方法
- Zigbee技术特点
- 第17章 ChannelPipeline和ChannelHandler
- 云平台上elb+haproxy证书导入配置
- 学习笔记之JavaSE(35)--JavaAPI详解10
- Android系统手机端抓包方法
- 设计模式学习笔记--过滤器模式
- C++读写表格csv——文本与表格完美桥接者
- char*,const char*和string的相互转换(转)
- 为什么要自定义UITabBarController
- 苹果ANCS协议学习
- 发送邮件+接收未读邮件