Why this matters
Strong service authentication and encryption support SOC 2 security.
Configure Spring Boot to require client certificates for internal APIs (clientAuth=REQUIRE) and restrict CAs; log peer certificate subject in audit events.
Strong service authentication and encryption support SOC 2 security.
Side-by-side examples engineers can pattern-match during review.
server.ssl.client-auth=NONEserver.ssl.client-auth=REQUIRE
server.ssl.trust-store=truststore.jksserver.ssl.client-auth=REQUIREserver.ssl.client-auth=NONEFrom the same buckets as this rule.
Public services must require TLSv1.2 or higher and set HSTS (max-age ≥ 15552000, includeSubDomains). Reject plaintext HTTP and weak ciphers; cookies must be Secure and HttpOnly with SameSite set.