Example using Netty TLS with different signature algorithms.
Build the Server binary:
bazel build //src/main/java/example/netty/server:ServerRun 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.keyRun 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.keyTest the server using OpenSSL:
openssl s_client -connect localhost:50440 -CAfile src/main/certs/ca-rsa.pem