----- Mail original ----- > De: "Jonathan bartoua Schneider" <[email protected]> > À: "bernard schoenacker" <[email protected]> > Cc: "[email protected] Debian" > <[email protected]> > Envoyé: Mardi 12 Septembre 2017 17:43:40 > Objet: Re: soucis avec https ( tcp 443 )
> Ta machine écoute en HTTPS au moins ? > netstat -tupan | grep 443 > Jonathan > Le 12 sept. 2017 5:28 PM, < [email protected] > a écrit : > > bonjour, > > > j'ai un problème avec mon serveur pour établir une connexion ssl > > > j'utilise ces règles iptables : > > > grep 443 iptables.up.rules > > > -A INPUT -p tcp --dport 443 -j ACCEPT > > > grep 443 ip6tables.up.rules > > > -A INPUT -p tcp --dport 443 -j ACCEPT > > > la preuve : > > > curl -I http://localhost:443 > > > curl: (7) Failed to connect to localhost port 443: Connexion > > refusée > > > la même commande avec le port 80 > > > curl -I http://localhost:80 > > > HTTP/1.1 200 OK > > > Date: Tue, 12 Sep 2017 15:19:28 GMT > > > Server: Apache/2.4.27 (Debian) > > > Last-Modified: Thu, 17 Aug 2017 06:24:32 GMT > > > ETag: "2537-556ed10cf57fa" > > > Accept-Ranges: bytes > > > Content-Length: 9527 > > > Vary: Accept-Encoding > > > Content-Type: text/html > > > sources des règles : > > > http://formation-debian.via.ecp.fr/fichiers-config/ip6tables.up.rules > > > http://formation-debian.via.ecp.fr/fichiers-config/iptables.up.rules > > > je n'y comprend plus rien > > > si quelqu'un pourrais éclairer ma lanterne > > > j'ai fait un iptable-apply et rien n'y fait > > > slt > > > bernard > bonjour, merci pour la réponse : netstat -tupan | grep 443 netstat -tupan | grep 80 tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 4668/portsentry tcp6 0 0 :::80 :::* LISTEN 4806/apache2 tcp6 0 0 127.0.0.1:80 127.0.0.1:50012 TIME_WAIT - tcp6 0 0 127.0.0.1:80 127.0.0.1:50014 TIME_WAIT - udp6 0 0 fe80::d6ae:52ff:fec:123 :::* 4128/ntpd bref pas de ssl au rapport et comment l'activer ? slt bern ard

