首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache导入的GoDaddy SSL显示为自签名。

Apache导入的GoDaddy SSL显示为自签名。
EN

Server Fault用户
提问于 2013-10-04 22:27:04
回答 1查看 829关注 0票数 2

我正在和Redhat6合作Apache2。

我在我的*.example.com服务器上安装了一个*.example.com通配符证书。我将其导出到PFX,将其移动到Linux服务器,并使用openssl将其转换为key和cert。

在重新启动httpd服务之前,我使用SSL配置了VirtualHost,如下所示:

代码语言:javascript
复制
 <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateChainFile /etc/ssl/certs/ca-bundle.crt
    SSLCertificateFile /etc/ssl/certs/example.cer
    SSLCertificateKeyFile /etc/ssl/certs/example.key
  </IfModule>

当我尝试浏览网站时,会发现以下错误:

代码语言:javascript
复制
The security certificate presented by this website was not issued by a trusted certificate authority.
The security certificate presented by this website was issued for a different website's address.

当我从Chrome查看证书信息时,它说发行人是Linux服务器,没有提到实际的域名。看起来它正在加载一个完全不同的证书。

有什么想法吗?

EN

回答 1

Server Fault用户

回答已采纳

发布于 2013-10-05 05:01:10

问题是,我忘记在虚拟主机配置文件中包含NameVirtualHost *:443指令,以及将*:443绑定添加到现有虚拟主机。

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/543934

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档