Skip to content
BouncyCastle TLS examples
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main Added Empty renegotiation Oct 29, 2019


BouncyCastle TLS examples

  • Following BC versions are supported: 1.50 - 1.58
  • Only RSA keys are supported (using EC keys ends up with an internal error)

Compile with (assuming version 1.56):

mvn clean install -Dbc.version=1.56

Start with:

java -jar BouncyCastleTLS-1.56-1.0.jar [port] [rsa-jks] [rsa-password] [rsa-alias]

If you have an additional EC key, you can use it:

java -jar BouncyCastleTLS-1.56-1.0.jar [port] [rsa-jks] [rsa-password] [rsa-alias] [ec-jks] [ec-password] [ec-alias]
You can’t perform that action at this time.