Upgrade to Tomcat 8.0.28 and test support for SSL config from classpath
Prior to 8.0.28 Tomcat required the key store and trust store (if any)
to be available directly on the filesystem, i.e. classpath: resources
would not work. Tomcat 8.0.28 removed this limitation.
This commit updates to Tomcat 8.0.28, updates the tests to verify
the new Tomcat capability and removes the obsolete documentation of
the restriction.
Closes gh-4048
@ -423,10 +423,6 @@ typically in `application.properties` or `application.yml`. For example:
@@ -423,10 +423,6 @@ typically in `application.properties` or `application.yml`. For example:
See {sc-spring-boot}/context/embedded/Ssl.{sc-ext}[`Ssl`] for details of all of the
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. 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
@ -311,14 +311,19 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -311,14 +311,19 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@ -374,8 +379,8 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -374,8 +379,8 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@ -398,8 +403,8 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -398,8 +403,8 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@ -422,8 +427,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -422,8 +427,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@ -441,8 +445,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -441,8 +445,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@ -465,8 +468,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
@@ -465,8 +468,7 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {