Spring Security X.509: Client Certificate Authentication
Learn how to configure Spring Security for X.509 client certificate authentication, handling mutual TLS, principal extraction, and user lookup.
Part 4 · mTLS With Spring BootSenior Team Lead · Identity & Security · Noida, India
Senior Team Lead at Thales building identity & access management systems. 13+ years across Java/Spring, AWS, and security protocols (OAuth2, OIDC, SAML, ForgeRock, Keycloak). I like quiet systems that just work.
Experience
Jan 2023 — Present
Leading identity & security workstreams in Noida — designing IAM platforms, hardening protocol implementations, and mentoring the team across Java/Spring services.
Feb 2021 — Jan 2023
Architected microservice platforms and OpenStack-based deployments. Designed end-to-end solutions across backend services, security, and cloud infrastructure.
May 2019 — Feb 2021
Built Identity Providers and brokers across multiple security protocols (OAuth2, OIDC, SAML). Worked closely with customers to configure SSO/SAML against their IdPs.
Apr 2018 — May 2019
Migrated a Django monolith into microservices for a high-traffic social audio platform serving rural India. Tuned existing services for scale.
Sep 2015 — Mar 2018
Full-stack development across Spring Boot, Spring Cloud, and Angular for hotel booking, insurance, and legaltech products. Owned features end-to-end from requirements to production.
Feb 2014 — Apr 2015
Drove design and engineering quality across early-stage products. Established practices for repeatable delivery on a small team.
Jan 2013 — Feb 2014
First role. Built JSP front-ends, learned the JVM stack, and shipped maintenance fixes across legacy applications.
Stack
Selected work
Full-stack hotel booking OTA with real-time vendor quotes, payment & SMS gateway, channel manager integration. Uber-style data calls between guest and hotelier for current-day inventory.
Social audio platform for low-literacy rural communities — record via IVR or Android, share, like, comment. Microservice backend serving large user base across India.
Cloud-native insurance broking portal. Twelve-Factor microservices with circuit breakers, intelligent routing, and horizontal autoscaling.
Subscription-based Internet Booking Engine for travel agents — multi-tenant ticketing across train/bus/flight with custom domains, themes, and third-party SMS/email/payment integrations.
Writing
Learn how to configure Spring Security for X.509 client certificate authentication, handling mutual TLS, principal extraction, and user lookup.
Part 4 · mTLS With Spring BootA guide to managing certificate rotation and truststore reloads in Kubernetes using cert-manager, ensuring secure mTLS configurations.
Part 6 · mTLS With Spring BootExplore the core components of Keycloak architecture, including realms, clients, and the data model, tailored for platform and identity engineers.
Part 1 · Keycloak in ProductionElsewhere
Reach me directly at me@ashishsrivastav.com.