Skip to content

RUB-NDS/JsseTLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JsseTLS

JSSE TLS examples

  • Can be used with the Bouncy Castle security provider, different versions are supported based on the provided parameter
  • RSA and EC keys are supported

Compile with (assuming version 1.56):

mvn clean install -Dbc.version=1.56

Start with:

java -jar JsseTlsServer-1.56-1.0.jar [port] [jks] [password] [alias] [BC]

The last paramater is optional. If it is set, the server uses the Bouncy Castle security provider and inserts it on the first place in the provider list. Otherwise, default Java security providers are used.

Examples

Typical usage examples:

java -jar JsseTlsServer-1.56-1.0.jar 4433 rsa.jks passwd rsakey BC
java -jar JsseTlsServer-1.56-1.0.jar 4433 ec.jks passwd ec

To use JSSE debugging output, you can start the server as follows:

java -Djavax.net.debug=all -jar JsseTlsServer-1.56-1.0.jar 4433 ec.jks passwd ec

Note

When using Bouncy Castle 1.50 or lower, the server is vulnerable to invalid curve attacks (see https://web-in-security.blogspot.de/2015/09/practical-invalid-curve-attacks.html)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages