Skip to content

SanjayVas/netty-tls-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netty TLS example

Example using Netty TLS with different signature algorithms.

Building

Build the Server binary:

bazel build //src/main/java/example/netty/server:Server

Usage

Run the Server binary with the sha256WithRSAEncryption algorithm:

bazel-bin/src/main/java/example/netty/server/Server --port 50440 --certificate src/main/certs/server-rsa.pem --private-key src/main/certs/server-rsa.key

Run the Server binary with the ED25519 algorithm:

bazel-bin/src/main/java/example/netty/server/Server --port 50440 --certificate src/main/certs/server-ed25519.pem --private-key src/main/certs/server-ed25519.key

Test the server using OpenSSL:

openssl s_client -connect localhost:50440 -CAfile src/main/certs/ca-rsa.pem

About

Example of Netty server with TLS 1.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published