OVH Cloud OVH Cloud

RH9/SSL/Apache2/ pas moyen de faire tourner https

1 réponse
Avatar
Christian Gayton
Salut à tous,
Bon, ça fait 24 h maintenant que je galère,et j'avoue que j'en peux plus...
J'ai fait les tests de vérification avec Verisign : certificat et clés sont
ok
Mon httpd.conf est à priori ok aussi
Extraits ci-dessous

Sauf que:
https://secure.domain.com renvoie une erreur inconnue sur Mozilla, et une
erreur DNS introuvable sur IE.

openssl s_client -connect secure.domain.com:443 -state -debug me renvoie ça
:

CONNECTED(00000003)
SSL_connect:before/connect initialization
write to 080B0058 [080B00A0] (142 bytes => 142 (0x8E))
0000 - 80 8c 01 03 01 00 63 00-00 00 20 00 00 39 00 00 ......c... ..9..
0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5............
0020 - 00 00 33 00 00 32 00 00-2f 03 00 80 00 00 66 00 ..3..2../.....f.
0030 - 00 05 00 00 04 01 00 80-08 00 80 00 00 63 00 00 .............c..
0040 - 62 00 00 61 00 00 15 00-00 12 00 00 09 06 00 40 b..a...........@
0050 - 00 00 65 00 00 64 00 00-60 00 00 14 00 00 11 00 ..e..d..`.......
0060 - 00 08 00 00 06 04 00 80-00 00 03 02 00 80 07 cf ................
0070 - 0c bb c7 6a 51 4b ff 2f-a7 ca d7 b2 83 0f 29 91 ...jQK./......).
0080 - 45 57 77 08 9e 56 97 ec-ec bf 73 33 44 2a EWw..V....s3D*
SSL_connect:SSLv2/v3 write client hello A
read from 080B0058 [080B5600] (7 bytes => 7 (0x7))
0000 - 3c 21 44 4f 43 54 59 <!DOCTY
SSL_connect:error in SSLv2/v3 read server hello A
15282:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol:s23_clnt.c:475:

curl https://secure.domain.com me renvoie ça :

curl: (35) SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol

Bref, on dirait que mon Apache ne sait pas trop causer en https :(((

Extraits du httpd.conf

<VirtualHost ip.ip.ip.ip:80>
ServerAdmin infos@domain.com
DocumentRoot /home/www-data/htdocs/2005
ServerName ip.ip.ip.ip
ServerAlias ip.ip.ip.ip,2005.domain.com,usa.domain.com,www.domain.com
ErrorLog /var/log/httpd/2005-error_log
CustomLog /var/log/httpd/2005-access_log common
</VirtualHost>

<IfDefine SSL>
Listen ip.ip.ip.ip:443
NameVirtualHost ip.ip.ip.ip:443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache dbm:/usr/local/apache2/logs/ssl_scache
SSLSessionCacheTimeout 300
<VirtualHost ip.ip.ip.ip:443>
ServerAdmin infos@domain.com
DocumentRoot /home/www-data/htdocs/2005
ServerName secure.domain.com
ErrorLog /var/log/httpd/secure-error-log
CustomLog /var/log/httpd/secure-acces-log common
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/apache2/ssl.certs/server.crt
SSLCertificateKeyFile /usr/local/apache2/ssl.certs/server.key
</VirtualHost>
</IfDefine>

Fin extrait

Enfin, dernières infos, je relance Apache via /etc/rc.d/init.d/httpd
restart -D SSL, et je n'ai pas rebooté la machine après install de tout le
bazar.

Merci de votre aide.

Christian

1 réponse

Avatar
Rakotomandimby Mihamina
Christian Gayton wrote:
Salut à tous,
Salut,

Ils en pensent quoi sur
fr.comp.infosystemes.www.serveurs ?

C'est aussi un groupe sur lequel tu devrais chercher des pistes...