I am looking to integrate Spring Boot with 2 way TLS.
My query is that I want to use this for development and can we have the 2 way TLS in one Spring MVC or do we need to create a separate client MVC?
I used this link for reference https://www.baeldung.com/spring-tls-setup in this the configuration of TLS on Tomcat how to configure the server XML file and to find it.
Also where should the truststore certificate should be stored if we use only one microservice for mutual TLS?
Following is the application properties:
server.port=8443
server.ssl.enabled=true
server.ssl.key-store-type=JKS
server.ssl.key-store=classpath:keystore/server-app.jks
server.ssl.key-store-password=password
server.ssl.key-alias=server-app
server.ssl.protocol=TLS
server.ssl.enabled-protocols=TLSv1.3
#server.ssl.client-auth=need
server.ssl.trust-store=classpath:keystore/truststore.jks
server.ssl.trust-store-password=password