This example assumes you have previously completed the following examples:
- Create an Azure Resource Group
- Create an Azure Key Vault
- Create a self-signed certificate
- Create a 'read-only' Service Principal
- Create an access policy
- Create a Spring Boot mTLS server-side application
To build the JAR file use the following Maven command line.
mvn package
To run the example locally use the following Maven command line.
mvn spring-boot:run
You can verify the application works by using your browser and going to http://localhost:8080/hello
It should show you the following:
Hello mTLS
Do NOT forget to remove the resources once you are done running the example.