LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Error code: ssl_error_ssl2_disabled on https load (https://www.linuxquestions.org/questions/linux-server-73/error-code-ssl_error_ssl2_disabled-on-https-load-831045/)

konzo 09-08-2010 02:10 PM

Error code: ssl_error_ssl2_disabled on https load
 
Hi all,

I am trying to configure test site with https mod_ssl for a few days with no success. Now I got this message

Error code: ssl_error_ssl2_disabled

and this is second day I can't move on. I try to config https site on my localhost in order to test functionality and etc.

I get this as output in curl

Code:

debian:/home/kode# curl https://localhost
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

Any help is appreciated.

bathory 09-08-2010 04:26 PM

Hi,

Check ssl.conf to see if you have SSLv2 disabled like the example here

Regards

konzo 09-09-2010 11:26 AM

I have all except version 2
Code:

SSLProtocol all -SSLv2

bathory 09-09-2010 11:51 AM

Why don't you enable it, to see what happens. Use:
Code:

SSLProtocol all
FYI, I've tested curl on my ssl apache, disabling SSLv2 and it didn't complain. I had to add the -k option because it didn't like my self-signed certificate:
Code:

curl -k https://localhost

konzo 09-09-2010 01:29 PM

Hi,

I try to set all option and restart apache. curl with -k or without it give the same
Code:

curl -k https://localhost
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol



Seems that the problem is somewhere else in my pc.

Edit. I forgot to mention that in Firefox the same message appear

bathory 09-09-2010 01:47 PM

Check if you have:
Code:

Listen 443
in the /etc/apache2/ports.conf file, or review the whole configuration for apache-ssl in debian

Regards

konzo 09-09-2010 02:01 PM

Yeah I have it.
Code:

<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
    Listen 443
</IfModule>

I will try with reconfiguration, as I could mess something (four days should be enough to mess all config files :) )


Thanks for the link!


All times are GMT -5. The time now is 03:28 PM.