com.spatineo:tls-mock-server

A simple Jetty server that can be used to test protocol and cipher combinations

License

License

GroupId

GroupId

com.spatineo
ArtifactId

ArtifactId

tls-mock-server
Last Version

Last Version

0.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

com.spatineo:tls-mock-server
A simple Jetty server that can be used to test protocol and cipher combinations
Project URL

Project URL

https://www.spatineo.com
Project Organization

Project Organization

Spatineo Inc
Source Code Management

Source Code Management

http://github.com/spatineo/tls-mock-server/tree/master

Download tls-mock-server

How to add to project

<!-- https://jarcasting.com/artifacts/com.spatineo/tls-mock-server/ -->
<dependency>
    <groupId>com.spatineo</groupId>
    <artifactId>tls-mock-server</artifactId>
    <version>0.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.spatineo/tls-mock-server/
implementation 'com.spatineo:tls-mock-server:0.1.4'
// https://jarcasting.com/artifacts/com.spatineo/tls-mock-server/
implementation ("com.spatineo:tls-mock-server:0.1.4")
'com.spatineo:tls-mock-server:jar:0.1.4'
<dependency org="com.spatineo" name="tls-mock-server" rev="0.1.4">
  <artifact name="tls-mock-server" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.spatineo', module='tls-mock-server', version='0.1.4')
)
libraryDependencies += "com.spatineo" % "tls-mock-server" % "0.1.4"
[com.spatineo/tls-mock-server "0.1.4"]

Dependencies

compile (3)

Group / Artifact Type Version
org.eclipse.jetty : jetty-server jar 9.4.25.v20191220
org.eclipse.jetty : jetty-servlet jar 9.4.3.v20170317
org.eclipse.jetty.http2 : http2-server jar 9.4.25.v20191220

test (4)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.5
junit : junit jar 4.12
org.powermock : powermock-module-junit4 jar 2.0.4
org.powermock : powermock-api-mockito2 jar 2.0.4

Project Modules

There are no modules declared in this project.

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

com.spatineo

Spatineo

Spatineo is the European quality assurance expert for spatial web services with strong INSPIRE and OGC expertise

Versions

Version
0.1.4
0.1.3
0.1.2
0.1.0