Skip to content

gscaramuzzino/quarkus-restclient-tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microprofile Rest Client with Mutual TLS Authentication

Microprofile Rest Client with Mutual TLS Authentication implemented with Quarkus

TLS authentication is an extension of TLS transport encryption.
Not only servers have keys and certs that the client uses to verify the identity of servers, clients also have keys and certs that the server uses to verify the identity of clients. You must have TLS transport encryption configured on your cluster before you can use TLS authentication. This guide assumes you already have TLS transport encryption configured.

Credits

This project has been implemented after the study of the article
https://quarkus.io/blog/quarkus-mutual-tls/
written by Mattia Mascia

Follow the video tutorial:

Alt text

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/.
If you want to learn more about Microprofile, please visit its website: https://microprofile.io/ .

Running the quarkus-service application in dev mode

You can run your application in dev mode that enables live coding using:

cd quarkus-server/src/main/resources/META-INF/resources/
sh generate_server_keystore.sh
cd quarkus-server
./mvnw clean compile quarkus:dev

Running the quarkus-client application in dev mode

You can run your application in dev mode that enables live coding using:

cd quarkus-client/src/main/resources/META-INF/resources/
sh generate_client_keystore.sh
cd quarkus-client
./mvnw clean compile quarkus:dev
curl http://localhost:8080/client/client
curl http://localhost:8080/client/clientBuilder

About

Microprofile RestClient with Mutual TLS Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published