In Spring Boot 2, the configuration classes of embedded webservers (like Tomcat) have slightly changed.
Below is a way to enable a two-way SSL connector on Tomcat.
Versions used:
- Spring Boot 2.0.4.RELEASE
- Embedded Tomcat version: 8.5.32
Let me know if that does not work for you.