root@www:/etc/apache2# wget https://www.domainname.com
--2013-09-19 09:15:12-- https://www.domainname.com/
Resolving www.classmint.com (www.domainname.com)... 198.*.124.142
Connecting to www.domainname.com (www.domainname.com)|198.*.124.142|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.
如果我把listen 443放在ports.conf中,我就无法重启apache。
我可以访问http://domainname.com:443,但我无法使用https。可能有什么不对?
解决此问题的最佳方法是什么?
答案 0 :(得分:0)
我希望这会对你有用http://www.ssl.ua/news/how-to-create-and-install-an-apache-self-signed-certificate/ 您需要安装SSL“apt-get install libssl-dev”