如何在子域网站中安装 SSL 证书?

How to install SSL Certificate in a sub-domain website?

我在这样的子域中创建了一个小型在线市场: shopName.mainDomainName.com 我需要在这家商店安装 SSL 证书,以后可能还会在其他商店安装。

我可以在主域中安装一次并在子域中引用吗?

此外,SSL 证书中有很多选项让我感到困惑。 有专用、商业和许多其他计划。来自不同的公司,例如 comodo、symantech、... 如何根据我的小需求简单和价格选择合适的。

在此先感谢您的任何提示或帮助。

根据评论,您可以使用适用于这些域格式的 Wildcard SSL

通配符 SSL

Secures all subdomains but not the base domain itself

Example:

*.mainDomainName.com

其中 * 代表任何子域但不代表 mainDomainName.com 本身。

主题备用名称

Secures all of the specified IP and DNS on the Subject Alternative Name of the Certificate.

Example:

mainDomainName.com

mainDomainName2.com

login.mainDomainName.com

*.mainDomainName.com

如您所见,SAN SSL 证书提供了更大的灵活性。

从以上给定的选项中选择符合您要求的选项