如何在Apache 2.4.18服务器中实现不带SSL的http2

编程入门 行业动态 更新时间:2024-10-22 11:26:28
本文介绍了如何在Apache 2.4.18服务器中实现不带SSL的http2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经建立了一个使用HTTP/2协议的网站,该网站在Apache 2.4.18 HTTP Server上运行.目前,我已使网站启用了SSL,因为我读到某个地方默认情况下HTTP/2需要SSL.我可能不需要确保我的网站安全,所以我不想花钱购买SSL证书.

I have made a website with HTTP/2 Protocol which is running on Apache 2.4.18 HTTP Server. Currently I have made the website is SSL Enabled because I read somewhere that HTTP/2 by default requires SSL. I may not require to make my website secure, so I don't want to spend money in buying a SSL Certificate.

是否有一种无需使用SSL配置即可实现HTTP2协议的方法? 如果是,我应该在httpd.conf文件中写入哪些配置设置? 我是否需要更改浏览器的所有属性/设置-Chrome/Firefox等?

Is there a way to implement HTTP2 Protocol without using SSL Configurations ? If yes, what configuration settings should I write in httpd.conf file ? Do I need to change any properties/settings of my Browser - Chrome/Firefox etc ?

推荐答案

据我所知,如果您通过HTTP而不是HTTPS连接到网站,大多数Web浏览器将不会使用HTTP2协议.

As far I know, the most web browsers will not use HTTP2 Protocol if you would connect to the web site via HTTP instead of HTTPS.

在许多地方都可以免费获得SSL证书,例如, StartSSL ,通用SSL ,让我们加密(请参见此处)等.该证书可能不会保存很长时间,并且没有时间戳等其他属性(例如此处),但仍可以使用.您仍然可以免费使用证书.

There are many places where you can get SSL certificate for free, for example, StartSSL, Universal SSL, Let’s Encrypt (see here) and other. The certificate could be not for the long time period and don't have some additional properties like Time-Stamping (like here), but it could be still used. You can still use the certificate for free.

您可以在此处阅读,例如,有关在Apache中配置HTTP2的说明HTTP服务器.最重要的是使用最新版本的 OpenSSL 和最新版本的Apache Server.我建议您阅读这篇文章关于HTTP2,请看视频和相应的幻灯片此处有关加快TLS并通过清单.

You can read here, for example, the instruction of configuring of HTTP2 in Apache HTTP Server. The most important would be to use the latest version of OpenSSL and the latest version of Apache Server. I'd recommend you to read the article about HTTP2, look the video and the corresponding slides here about making TLS faster and to go through the checklist.

更多推荐

如何在Apache 2.4.18服务器中实现不带SSL的http2

本文发布于:2023-11-01 20:11:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1550295.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不带   器中   如何在   Apache   SSL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!