我已经使用[本指南]configuration了AWS CloudFrontredirect(使用SSL)。 1
我用configurationcompany.com的Aliasconfiguration了Alogging。 到CloudFront域名。
当我访问CloudFront域名时,该站点成功加载并显示安全。
但是,当我通过https://company.com访问该网站时,我得到一个证书错误,说证书是无效的。
我购买的证书是*.company.com 。
在铬,我得到以下错误:
Your connection is not private Attackers might be trying to steal your information from angelsense.com (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_COMMON_NAME_INVALID Automatically send some system information and page content to Google to help detect dangerous apps and sites. Privacy policy
如何解决?
您的证书仅对*.angelsense.com有效。 这对angelsense.com 。 要在没有任何子域的情况下使用它,您必须在创build证书时将angelsense.com另外添加到*.angelsense.com作为SAN(主题备用名称)。