mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2024-12-26 09:58:40 +01:00
add 'Verify 0-RTT'
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
55390348db
commit
201de63681
1 changed files with 15 additions and 0 deletions
15
README.md
15
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
|
||||
|
|
Loading…
Reference in a new issue