From 201de6368105a46373508a16725f11df8ed7781e Mon Sep 17 00:00:00 2001 From: trimstray Date: Thu, 18 Jul 2019 09:37:09 +0200 Subject: [PATCH] add 'Verify 0-RTT' - signed-off-by: trimstray --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 1f5a215..aa9cb72 100644 --- a/README.md +++ b/README.md @@ -2139,6 +2139,21 @@ openssl s_client -tls1_2 -connect google.com:443 openssl s_client -cipher 'AES128-SHA' -connect google.com:443 ``` +###### Verify 0-RTT + +```bash +_host="example.com" + +cat > req.in << __EOF__ +HEAD / HTTP/1.1 +Host: $_host +Connection: close +__EOF__ + +openssl s_client -connect ${_host}:443 -tls1_3 -sess_out session.pem -ign_eof < req.in +openssl s_client -connect ${_host}:443 -tls1_3 -sess_in session.pem -early_data req.in +``` + ###### Generate private key without passphrase ```bash