Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable tls1.3 and early data for 0RTT #440

Open
ljwhx2002 opened this issue Aug 6, 2022 · 2 comments
Open

how to enable tls1.3 and early data for 0RTT #440

ljwhx2002 opened this issue Aug 6, 2022 · 2 comments

Comments

@ljwhx2002
Copy link

ljwhx2002 commented Aug 6, 2022

I'm using netty-tcnative-boringssl-static with vertx , and trying tls1.3, it works well but I don't know how to enable early data. It was 1 RTT for every reconnection. how to enable 0RTT ?

here is my configuration:

 options.setTcpNoDelay(true)
                .setUseAlpn(true)
                .setTcpFastOpen(true)
                .setSni(true)
                .removeEnabledSecureTransportProtocol("TLSv1")
                .removeEnabledSecureTransportProtocol("TLSv1.2")
                .addEnabledSecureTransportProtocol("TLSv1.3");


 <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-tcnative-boringssl-static</artifactId>
            <version>2.0.53.Final</version>
            <classifier>${os.detected.classifier}</classifier>
</dependency>
@vietj
Copy link
Contributor

vietj commented Aug 7, 2022 via email

@ljwhx2002
Copy link
Author

Seems to not supply in Netty...

can you show how it is enabled in Netty ? I haven't checked myself yet

On Sat, Aug 6, 2022 at 1:25 PM ljwhx2002 @.> wrote: I'm using netty-tcnative-boringssl-static with vertx , and trying tls1.3, it works well but I don't know how to enable early data. It was 1 RTT for every reconnection. how to enable for 0RTT ? ---------- here is my configuration: options.setTcpNoDelay(true) .setUseAlpn(true) .setTcpFastOpen(true) .setSni(true) .removeEnabledSecureTransportProtocol("TLSv1") .removeEnabledSecureTransportProtocol("TLSv1.2") .addEnabledSecureTransportProtocol("TLSv1.3"); io.netty netty-tcnative-boringssl-static 2.0.53.Final ${os.detected.classifier} — Reply to this email directly, view it on GitHub <#440>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXDCXQIEQVC64NKE3G2OTVXZDTJANCNFSM55YN5OSQ . You are receiving this because you are subscribed to this thread.Message ID: @.>

@vietj vietj added the question label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants