Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 994 Bytes

File metadata and controls

38 lines (33 loc) · 994 Bytes

Quarkus Mutual TLS with Cert Manager and Vault PKI

Getting Certificate From PKI Provider

certificate_workflow.png

  1. Create issuer.
  2. Watch certificates.
  3. Request certificates to Vault PKI.
  4. Get certificate and create Kubernetes secrets.
  5. Mount certificate in client application.
  6. Mount certificate in server application.
  7. Client-Server connection with mTLS.
  8. Access client exposed application.

Local Deployment

Create Issuer

sh ../../script/issuer-creation.sh

Build

mvn clean package -Dquarkus.profile=prod

Build & Run OpenShift

export BASE_DOMAIN=$(oc get dns cluster -o jsonpath='{.spec.baseDomain}')
mvn oc:build oc:resource oc:apply -Pprod

Uninstall resources in OpenShift

mvn oc:undeploy -Pprod

Reference