我只是在我的Windows Azure托pipeUbuntu 12.04 Apache服务器上configuration站点来使用SSL,这些站点正在工作并正确redirect。 这是我的虚拟主机configuration:
<VirtualHost *:80> ServerName site1.company.com Redirect permanent / https://site1.company.com/ </VirtualHost> <VirtualHost *:443> DocumentRoot /var/www/site1 ServerName site1.company.com Options -Indexes DirectoryIndex login.php SSLEngine on SSLCertificateFile /etc/apache2/certs/company.com.crt SSLCertificateKeyFile /etc/apache2/certs/server1.key SSLCertificateChainFile /etc/apache2/certs/gd_bundle.crt </VirtualHost>
所有的虚拟主机configuration几乎相同。 不过,我在Apache的错误日志中看到了很多条目,这让我担心生产过程中的性能问题。
[debug] ssl_engine_kernel.c(1866): OpenSSL: Handshake: start [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: before/accept initialization [debug] ssl_engine_io.c(1908): OpenSSL: I/O error, 11 bytes expected to read on BIO#7f8f746c6ae0 [mem: 7f8f746cc0d0] [debug] ssl_engine_kernel.c(1903): OpenSSL: Exit: error in unknown state [info] [client xxxx] (70014)End of file found: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] [info] [client xxxx] Connection closed to child 5 with abortive shutdown (server site1.company.com:443) [info] [client xxxx] Connection to child 0 established (server site1.company.com:443) [info] Seeding PRNG with 656 bytes of entropy
这个循环每15秒重复一次。 我有错误的configuration吗? 所有的网站都能正常工作
这里的奥秘已经解决了,这是Azure的负载均衡器探测。 我不知道为什么这个IP地址是在香港注册的,但是现在有很多意义。 我必须删除并重新创build端点才能更新端点状态并更正问题。
如果168.63.129.16没有在香港注册(这是我的服务器上的IP),这将是更容易弄清楚,