
云服务器:Linux系统 Apache服务器 http转https
发布日期:2021-05-14 20:21:00
浏览次数:14
分类:精选文章
本文共 2103 字,大约阅读时间需要 7 分钟。
������������������������Linux���������������������������������������������������������������������������������������������������������������������������������HTTPS���
������Apache������������������SSL
���Apache���������������������cert
���������������������SSL������������������������������������������������������a.key
��� ������apache/conf/httpd.conf
���������������������#
������������������������ LoadModule ssl_module modules/mod_ssl.soInclude conf/extra/httpd-ssl.conf
���������������apache/conf/extra/httpd-ssl.conf
������������������������������HTTPS���������
- ������������������
#
���SSLProtocol all -SSLv2 -SSLv3SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUMSSLSSLCertificateFile cert/a_public.crtSSLCertificateKeyFile cert/a.keySSLCertificateChainFile cert/a_chain.crt
- ������Apache���������
service httpd restart
���������������HTTPS������
���httpd-ssl.conf
������������������httpd-vhosts.conf
������������������������������������������������������������������ DocumentRoot "/usr/local/apache/htdocs/video_pro" ServerName your_domain.top:443 ServerAdmin support@your_domain.top ErrorLog "/usr/local/apache/logs/error_log" TransferLog "/usr/local/apache/logs/access_log" SSLEngine on SSLCertificateFile "/usr/local/apache/cert/your_domain_public.crt" SSLCertificateKeyFile "/usr/local/apache/cert/your_domain.key" SSLCertificateChainFile "/usr/local/apache/cert/your_domain_chain.crt" SSLOptions +StdEnvVars SSLOptions +StdEnvVars BrowserMatch "MSIE [2-5]" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 CustomLog "/usr/local/apache/logs/ssl_request_log" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
������ServerName
���������www
������������������������������������������������
������HTTPS������
���������������������������������������������curl���������������������HTTPS���������������������������SSL������Handshake������������������������������������������������������������Apache HTTPS���������������������������������������
发表评论
最新留言
留言是一种美德,欢迎回访!
[***.207.175.100]2025年04月25日 02时06分22秒
关于作者

喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
[源码分析] 消息队列 Kombu 之 Consumer
2021-05-09
抉择之苦
2021-05-09
wx.NET CLI wrapper for wxWidgets
2021-05-09
ASP.NET MVC Action Filters
2021-05-09
Powershell中禁止执行脚本解决办法
2021-05-09
HTTP协议状态码详解(HTTP Status Code)
2021-05-09
OO_Unit2 多线程电梯总结
2021-05-09
04_Mysql配置文件(重要参数)
2021-05-09
JavaSE总结
2021-05-09
手动造轮子——基于.NetCore的RPC框架DotNetCoreRpc
2021-05-09
Python IO编程
2021-05-09
CSS入门总结
2021-05-09
使用 TortoiseGit 时,报 Access denied 错误
2021-05-09
基于 HTML5 WebGL 的污水处理厂泵站自控系统
2021-05-09
django-表单之模型表单渲染(六)
2021-05-09
c++之程序流程控制
2021-05-09