安装www和非www SSL证书的Apache [英] install www and non-www ssl cert apache

查看:170
本文介绍了安装www和非www SSL证书的Apache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站(基于prestashop)对域名不带www的证书。从客户接到投诉后,我们希望添加证书的WWW。

My site (prestashop based) has a certificate for the domain name without the www. After receiving complaints from a client, we wanted to add a certificate for the www.

我们正在运行的Apache。什么是安装我们刚买的第二证书的最好方法?是否有可能在安装Apache 2证书为不同的主机的变化,或者我应该购买第三外卡证书?

We are running Apache. What is the best way to install the second cert we just bought? Is it possible to install 2 certificates on Apache for the different host variations, or should I buy a third wild card cert?

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

Is it possible to easily manipulate prestashop to use the canonical name, i.e. redirect all links to the www version?

推荐答案

最好的办法是购买证书www.example.com的。它的工作原理并没有WWW两者。

The best way is to buy cert for www.example.com. It works both for and without www.

在CSR创作把你的域名与 WWW (在CSR常用名(CN)字段)。

During the CSR creation put your domain with www (common name (CN) field in the CSR).

按照 geocerts.com

什么是通用名称(CN)在企业社会责任?

通用名称(CN)是
  完全合格的域名为您的Web服务器。这必须是一个确切的
  匹配。例如:如果要确保网址
   https://www.yourdomain.com ,那么你的企业社会责任的通用名称必须是
  www.yourdomain.com

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?

如果您要保护
  www和网站的非www版本,建议
  您在CSR使用'www.mydomain.comn'。

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.

这问题可能也是有帮助的:

This question may be also helpful:

<一个href=\"http://stackoverflow.com/questions/15711511/should-i-include-www-in-the-common-name-of-a-ssl-cert-request\">Should我有一个SSL证书请求的通用名称的www?

这篇关于安装www和非www SSL证书的Apache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆