I have a spring-boot project that is run using jetty, I specifically have in my gradle
compile("org.springframework.boot:spring-boot-starter-web:1.5.8.RELEASE") {
exclude module: "spring-boot-starter-tomcat"
}
I would like to setup SSL and have registered for it and am now in possession of .ca-bundle
.crt
.p7b
.csr
and .key
files. And additionally I would like to accomplish this by using @Configuration
class instead of application.properties
however I do not know the first thing about setting up SSL. Can anyone point me in the right direction, or provide a code snippet that would allow my spring boot project to use SSL?