/java-mtls-workshop

Workshop on how to configure mTLS between two services

Primary LanguageJava

Java mTLS Workshop

This repository contains the material for a workshop on how to configure mTLS between two services written in spring.

Prerequisites

  • Java (16.0.1)
  • Gradle (7.1.1 (or use the included gradle wrapper))
  • OpenSSL (LibreSSL 2.8.3)

A recommendation is to make use of SDKMAN to manage Java-related libraries.

Get started:

  1. Clone this repo
  2. cd business-application && ./gradlew bootRun
  3. cd api-gw && ./gradlew bootRun
  4. Access the business-application on http://localhost:8080/api/hello
  5. Access the api-gw on http://localhost:8081/api/hello-client