Apache ssl解决办法:[error] Init: Multiple RSA server certificates not allowed,其实很简单!

申请沃通wosign免费SSL证书配置https重启httpd时一直失败,查看error_log时一直报[error] Init: Multiple RSA server certificates not allowed,妈蛋找了好久网上一直找不到解决方法,这都是小白配置才会导致这种低级错误不按规范流程操作,大佬们根本不会犯这种错误的,所以很少有人给出解决方法。使用google,英语六级九牛二虎之力,找到了这么个帖子http://compgroups.net/comp.infosystems.servers.unix/apache-2.2.2-mod_ssl-error/2916213

导师是这么回复的“My interpretation is that the error is stating that you’re trying to load the certificate multiple times. Certainly check in the SSL enabled directives. You have have duplicated the certificate line in different sections ”,再重新一读错误提示:多RSA服务证书不被允许。这丫的在/etc/httpd/conf.d/ssl.conf中多配置了key和cert啊,真是作死的手贱啊,一看是我自己自作聪明加了SSLCertificateKeyFile /etc/ssl/example.com/test.wosign.com.key这一行,没想到配置文件内缺省也有这行,坑爹没给他删除掉,就导致有多个key了,删掉重启ok6666搞定!

发表评论

邮箱地址不会被公开。 必填项已用*标注