gpt4 book ai didi

apache - 安装 www 和非 www ssl cert apache

转载 作者:太空宇宙 更新时间:2023-11-03 13:03:47 30 4
gpt4 key购买 nike

我的网站(基于 prestashop)有一个没有 www 的域名证书。收到客户的投诉后,我们想为 www 添加证书。

我们正在运行 Apache。安装我们刚购买的第二个证书的最佳方法是什么?是否可以在 Apache 上为不同的主机变体安装 2 个证书,或者我应该购买第三个通配符证书?

是否可以轻松操纵 prestashop 以使用规范名称,即将所有链接重定向到 www 版本?

最佳答案

最好的方法是为 www.example.com 购买证书。它适用于和不适用 www。

在创建 CSR 期间,将您的域放入 www(CSR 中的通用名称 (CN) 字段)。

根据geocerts.com :

CSR 中的通用名称 (CN) 是什么?

The Common Name (CN) is the fully-qualified domain name for your web server. This must be an exact match. For example: if you intend to secure the URL https://www.yourdomain.com, then your CSR's Common Name must be www.yourdomain.com.

我的 CSR 的通用名称中是否应该包含“www”?

If you want to secure both the www and non-www version of your site it is recommended that you use 'www.mydomain.comn' in your CSR.

这个问题也可能有帮助:

Should I include 'www' in the common name of a SSL cert request?

关于apache - 安装 www 和非 www ssl cert apache,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24596569/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com