配置apache2 https
来源:互联网 发布:企业办公通讯软件 编辑:程序博客网 时间:2024/05/06 06:22
版本:Apache/2.4.23
很简单
lrwxrwxrwx 1 root root 45 Feb 16 19:32 000-default-ssl.conf -> /etc/apache2/sites-available/default-ssl.conf
lrwxrwxrwx 1 root root 26 Feb 16 18:17 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 Feb 16 18:17 ssl.load -> ../mods-available/ssl.load
注:
--启动错误ssl.conf,注释了下面3行
38 # Inter-Process Session Cache:
39 # Configure the SSL Session Cache: First the mechanism
40 # to use and second the expiring timeout (in seconds).
41 # (The mechanism dbm has known memory leaks and should not be used).
42 #SSLSessionCache dbm:${APACHE_RUN_DIR}/ssl_scache
43 #SSLSessionCache shmcb:${APACHE_RUN_DIR}/ssl_scache(512000)
44 #SSLSessionCacheTimeout 300
--生成证书,参见下面,这个apach2的版本已经不需要这个配置了,自己生成也没有问题,使用原来的可以(default-ssl.conf)
http://www.cnblogs.com/best-jobs/p/3298258.html
--遇到问题可以查看apache2的log文件,/var/log/apache2,也许会找到线索
--注意DocumentRoot的设置
很简单
加上下面的link文件就可以了,分别在mods-available和sites-available(默认没有下面的link文件)
lrwxrwxrwx 1 root root 40 Feb 16 19:29 000-default-ssl -> /etc/apache2/sites-available/default-ssllrwxrwxrwx 1 root root 45 Feb 16 19:32 000-default-ssl.conf -> /etc/apache2/sites-available/default-ssl.conf
lrwxrwxrwx 1 root root 26 Feb 16 18:17 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 Feb 16 18:17 ssl.load -> ../mods-available/ssl.load
注:
--启动错误ssl.conf,注释了下面3行
38 # Inter-Process Session Cache:
39 # Configure the SSL Session Cache: First the mechanism
40 # to use and second the expiring timeout (in seconds).
41 # (The mechanism dbm has known memory leaks and should not be used).
42 #SSLSessionCache dbm:${APACHE_RUN_DIR}/ssl_scache
43 #SSLSessionCache shmcb:${APACHE_RUN_DIR}/ssl_scache(512000)
44 #SSLSessionCacheTimeout 300
--生成证书,参见下面,这个apach2的版本已经不需要这个配置了,自己生成也没有问题,使用原来的可以(default-ssl.conf)
http://www.cnblogs.com/best-jobs/p/3298258.html
--遇到问题可以查看apache2的log文件,/var/log/apache2,也许会找到线索
--注意DocumentRoot的设置
0 0
- Apache2配置https
- Apache2.4.7配置https
- 配置apache2 https
- wamp配置https apache配置https apache2.4.9
- wampserver2.5 apache2.4.9配置https 图文
- Let'sEncrypt + Apache2.2 + Centos6 配置HTTPS实战
- 腾讯云 Ubuntu+Apache2配置https和重定向
- window2008下基于阿里云免费HTTPS证书+apache2.4.27的HTTPS配置方法
- Force HTTPS in Apache2
- Ubuntu Apache2 进入HTTPS
- Apache2.4.7配置https,解决阿里云证书配置之痛
- apache2 配置
- apache2 配置
- apache2.2配置https协议(key文件、crt文件、csr文件生成方法)
- Apache2+Tomcat7配置http请求自动跳转到https的方法
- Apache2配置免费型DV SSL实现多域名多站点Https访问
- centos6 下apache2 配置https的谷歌学术反向代理
- Apache2 支持 https (ubuntu10.04)
- photoshop设置----web切图
- CCF之交通规则(java)
- 使用第三方.Net NPOI实现.net mvc使用FileResult导出excel(下载到客户端)
- 第一篇 python(安装 到 hello world)
- KMP算法详解
- 配置apache2 https
- Android Volley 适配 android 6.0
- String和StringBuffer的区别
- JavaEE 轻量级常用框架原理
- Java基础知识
- nodejs+socket.io实现websocket通信初探
- C语言 求两个整数之和
- 十二天作业2
- Window 64bit环境Python3 + OpenCV3开发环境搭建