mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Fail fast if ssl.enabled = true without an SSL bundle
Setting spring.ldap.embedded.ssl.enabled without an SSL bundle started a plain LDAP listener silently. It now fails at startup as a bundle is required to provide the server's certificate and private key. Closes gh-51471
This commit is contained in:
@@ -809,3 +809,7 @@ spring:
|
||||
ssl:
|
||||
bundle: "example"
|
||||
----
|
||||
|
||||
The bundle must provide the server's certificate and private key.
|
||||
|
||||
NOTE: An SSL bundle is required for LDAPS. Setting configprop:spring.ldap.embedded.ssl.enabled[] without configprop:spring.ldap.embedded.ssl.bundle[] fails at startup.
|
||||
|
||||
Reference in New Issue
Block a user