Skip to content

Commit d2d1ec7

Browse files
committed
Merge pull request #52874 from anqorithm
Closes gh-52874 * pr/52874: Fix docs on how SSL health indicator reports expiring certificates
2 parents a28cc13 + 3f04542 commit d2d1ec7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator

‎documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/endpoints.adoc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ TIP: You can disable them all by setting the configprop:management.health.defaul
689689

690690
TIP: The `ssl` javadoc:org.springframework.boot.health.contributor.HealthIndicator[] has a "warning threshold" property named configprop:management.health.ssl.certificate-validity-warning-threshold[].
691691
You can use this threshold to give yourself enough lead time to rotate the soon-to-be-expired certificate.
692-
If an SSL certificate will become invalid within the period defined by this threshold, the javadoc:org.springframework.boot.health.contributor.HealthIndicator[] will report this in the details section of its response where `details.validChains.certificates.[*].validity.status` will have the value `WILL_EXPIRE_SOON`.
692+
If an SSL certificate will become invalid within the period defined by this threshold, the javadoc:org.springframework.boot.health.contributor.HealthIndicator[] will report this in the details section of its response where the certificate chain will be listed in `details.expiringChains`.
693693

694694
Additional javadoc:org.springframework.boot.health.contributor.HealthIndicator[] beans are enabled by default:
695695

0 commit comments

Comments
 (0)