BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / security / #39504同步于 2015/1/30
Security机器人发帖

https apache配置无法生效问题

rp2011211472
2015/1/30镜像同步0 回复
【环境】: ubuntu server 14.04 【描述】: 配置https,使用的这篇blog: http://blog.csdn.net/tinyletero/article/details/37901325 在/etc/apache2/sites-enabled/default-ssl.conf中非注释行配置: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost ServerName 127.0.0.1:443 DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.crt SSLCertificateKeyFile /etc/apache2/ssl/apache.key 其中ServerName按blog中的意思,就是SSL私钥中的Common Name,一般起为域名或者IP,我设置的都是127.0.0.1。 【问题】: root@ubuntu:/etc/apache2/sites-enabled# service apache2 restart * Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 这个报错说使用127.0.1.1,我换为这个IP后还是不行。而且netstat | grep 443后没有进程。
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。