Skip to content

A general purpose HTTPS server for mocking connection establishment with various TLS/SSL version/cipher combinations

License

Notifications You must be signed in to change notification settings

spatineo/tls-mock-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tls-mock-server

A general purpose HTTPS server for mocking connection establishment with various TLS/SSL version/cipher combinations

Usage

tls-mock-server starts a jetty service that utilizes selected ports and supports selected protocols and cipher suites.

java -Djavax.net.ssl.keyStore=PathToKeystore\
-Djavax.net.ssl.keyStorePassword=KeystorePassword\
-jar tls-mock-server-1.0.0.jar\
"TLSv1.2,TLSv1.3"\
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"\
"8080,8443"

System properties javax.net.ssl.keyStorePassword and javax.net.ssl.keyStorePassword should be set and the parameters protocol, cipher suites and ports should be passed in as comma separated lists.

License

MIT

About

A general purpose HTTPS server for mocking connection establishment with various TLS/SSL version/cipher combinations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages