Browse Source

Clarify SSL "How-to" documentation

Update the SSL "How-to" documentation to make it clearer that SSL
configuration replaces the usual connector.

Closes gh-2172
See gh-2167
pull/2113/merge
Hendy Irawan 11 years ago committed by Phillip Webb
parent
commit
ba97090375
  1. 12
      spring-boot-docs/src/main/asciidoc/howto.adoc

12
spring-boot-docs/src/main/asciidoc/howto.adoc

@ -406,7 +406,17 @@ See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of @@ -406,7 +406,17 @@ See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of
supported properties.
NOTE: Tomcat requires the key store (and trust store if you're using one) to be directly
accessible on the filesystem, i.e. it cannot be read from within a jar file.
accessible on the filesystem, i.e. it cannot be read from within a jar file. This
limitation doesn't apply to Jetty and Undertow.
Using configuration like the example above means the application will no longer support
plain HTTP connector at port 8080. Spring Boot doesn't support the configuration of both
an HTTP connector and an HTTPS connector via `application.properties`. If you want to
have both then you'll need to configure one of them programmatically. It's recommended
to use `application.properties` to configure HTTPS as the HTTP connector is the easier of
the two to configure programmatically. See the
{github-code}/spring-boot-samples/spring-boot-sample-tomcat-multi-connectors[`spring-boot-sample-tomcat-multi-connectors`]
sample project for an example.

Loading…
Cancel
Save