-
-
Save ShadowySpirits/5e639bfaf012ad5840f36a591f7d4904 to your computer and use it in GitHub Desktop.
[Test TLS1.3 Early data]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -exuo pipefail | |
host=tls-test.sspirist.top # replace with your server name | |
echo -e "HEAD / HTTP/1.1\r\nHost: \r\nConnection: close\r\n\r\n" > request.txt | |
openssl s_client -connect :443 -tls1_3 -sess_out session.pem -ign_eof < request.txt | |
openssl s_client -connect :443 -tls1_3 -sess_in session.pem -early_data request.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment