Skip to content

Commit 4c069f0

Browse files
wanger26scottfrederick
authored andcommitted
Add note regarding mixing of bundle-based and direct SSL configuration
Signed-off-by: Jakob Wanger <[email protected]> See gh-39616
1 parent e6d9fcd commit 4c069f0

File tree

1 file changed

+1
-2
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/webserver.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ The following example shows setting SSL properties using a Java KeyStore file:
172172
Using configuration such as the preceding example means the application no longer supports a plain HTTP connector at port 8080.
173173
Spring Boot does not support the configuration of both an HTTP connector and an HTTPS connector through `application.properties`.
174174
If you want to have both, you need to configure one of them programmatically.
175-
We recommend using `application.properties` to configure HTTPS, as the HTTP connector is the easier of the two to configure programmatically.
176-
175+
We recommend using `application.properties` to configure HTTPS, as the HTTP connector is the easier of the two to configure programmatically. Also note that Spring Boot does not support the mixing of different configuration methods of SSL for embedded web servers, as such the use of the `ssl.bundle` property can't be combined with the discrete JKS or PEM property options under `server.ssl`.
177176

178177

179178
[[howto.webserver.configure-ssl.pem-files]]

0 commit comments

Comments
 (0)