ahmedjama.com

Tech | Insights | Inspiration

How to test zero-rtt for TLS 1.3 enabled site

0-RTT (zero round trip time) is a new feature in TLS 1.3 that enhances performance

Ahmed Jama

1-Minute Read

sslyze

To test whether your site supports 0-RTT you can use SSLyze. This is a fast and powerful Python SSL/TLS scanning library. SSLyze can be used as command line and or as a Python library.

Python version

I am using Python 3.8 in a virtual environment.

Testing Zero RTT using SSLyze

First pip install SSLyze.

pip install sslyze

Then from the CLI, test 0-RTT for a site that TLS 1.3 enabled. The switch needed to be passed to SSLyze is --early_data.

(venv) ➜  ~ python -m sslyze --early_data cloudflare.com

 CHECKING HOST(S) AVAILABILITY
 -----------------------------

   cloudflare.com:443                       => 104.17.175.85




 SCAN RESULTS FOR CLOUDFLARE.COM:443 - 104.17.175.85
 ---------------------------------------------------

 * TLS 1.3 Early Data:
                                          Suppported - Server accepted early data


 SCAN COMPLETED IN 0.08 S
 ------------------------

Say Something

Comments

Nothing yet.

Recent Posts

categories

About

This blog is a space for exploring both the technical and thought-provoking aspects of technology, sharing insights and breaking down complex concepts in an accessible and engaging way.