我终于从一个可信任的CAvalidation了我的证书。 现在,我编辑了我的etc/httpd/conf.d/ssl.conf来find我的新证书。
我已经在我的etc/httpd/conf/httpd.conf包含了ssl.conf。
我已经安装了我的虚拟主机。
ServerName www.myhost.com.ph:80 NameVirtualHost *:443 <VirtualHost *:443> ServerName www.myhost.com.ph DocumentRoot /home/host/public ServerAlias myhost.com.ph myhost.net DirectoryIndex index.html index.php <Directory "/home/host/public"> AllowOverride FileInfo Limit Options Indexes Allow from all Options Indexes FollowSymLinks MultiViews </Directory> <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> </VirtualHost>
这里是我的ssl.conf文件:
LoadModule ssl_module modules/mod_ssl.so Listen 443 <VirtualHost _default_:443> ServerName www.myhost.com.ph SSLEngine on SSLCertificateFile /etc/pki/tls/certs/myhost.com.ph.crt SSLCertificateKeyFile /etc/pki/tls/private/www.myhost.com.ph.key SSLCertificateChainFile /etc/pki/tls/certs/gd_bundle.crt </VirtualHost>
当我通过我的IP地址( https://125.x.xx.xxx )在networking浏览器访问我的网站时,我仍然不Untrusted Connected错误。 Error code: ssl_error_bad_cert_domain
我错误configuration了我的服务器设置? 还有什么其他的事情,我必须添加/设置在我的SSL和Apacheconfiguration? 请帮忙。 提前致谢。
您需要通过您拥有签名证书的域名访问站点的https部分,否则您将始终得到这样的错误。