April 2018
Intermediate to advanced
432 pages
10h 38m
English
Each keystore file has been placed in the src/main/resources directory of every secure microservice and service discovery. The SSL configuration settings of every microservice are very similar to those from the example in the section titled Enabling HTTPS for Spring Boot. The only difference is the type of currently used KeyStore, which is now JKS instead of PKCS12. However, there are more differences between the earlier sample and the service discovery configuration. First, I have enabled client certificate authentication by setting the server.ssl.client-auth property to need. This in turn requires us to provide a trustStore with the server.ssl.trust-store property. Here are the current ...