From 3cf089bd38ec464953bae1cdd12ca61886578668 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Wed, 11 Oct 2023 16:53:39 +0200 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20commande=20pour=20parler=20?= =?UTF-8?q?HTTPs=20en=20ligne=20de=20commande?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoHTTP.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/HowtoHTTP.md b/HowtoHTTP.md index 2be5f10c..b62e428a 100644 --- a/HowtoHTTP.md +++ b/HowtoHTTP.md @@ -118,7 +118,7 @@ Hello World On gère le tunnel SSL avec `openssl` puis tout est en clair : ~~~ -$ openssl s_client -host www.debian.org -port 443 +$ echo -e "GET / HTTP/1.1\r\nHost: www.debian.org\r\n\r\n" | openssl s_client -host www.debian.org -port 443 -quiet -servername www.debian.org CONNECTED(00000003) depth=3 C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root verify return:1 @@ -138,10 +138,9 @@ Certificate chain Timeout : 300 (sec) Verify return code: 0 (ok) --- -GET / HTTP/1.0 HTTP/1.1 200 OK -Date: Wed, 05 Oct 2016 02:12:56 GMT +Date: Wed, 11 Oct 2023 14:52:22 GMT Server: Apache [...] ~~~